Search results for "module:carp::assert"
Carp::Assert - executable comments
"We are ready for any unforseen event that may or may not occur." - Dan Quayle Carp::Assert is intended for a purpose like the ANSI C library assert.h <http://en.wikipedia.org/wiki/Assert.h>. If you're already familiar with assert.h, then you can pro...NEILB/Carp-Assert-0.21 - 25 Jun 2014 21:23:44 UTC
Carp::Assert::More - Convenience assertions for common situations
Carp::Assert::More is a convenient set of assertions to make the habit of writing assertions even easier. Everything in here is effectively syntactic sugar. There's no technical difference between calling one of these functions: assert_datetime( $foo...PETDANCE/Carp-Assert-More-2.1.0 - 16 Aug 2022 01:00:40 UTC
Carp::Ensure - Ensure a value is of the expected type
Most of the time it's a nice feature, that Perl has no really strict type checking as in C++. However, sometimes you want to ensure, that you subs actually get the type of arguments they expect. Or they return what you expect. That is where Carp::Ens...SMERTEN/Carp-Ensure-0.23 - 29 Jan 2002 14:59:51 UTC