Carp::Assert - executable comments River stage two • 36 direct dependents • 86 total dependents

"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 River stage three • 10 direct dependents • 314 total dependents

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.0.1 - 13 Aug 2021 17:00:27 UTC

Carp::Ensure - Ensure a value is of the expected type River stage zero No dependents

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
3 results (0.028 seconds)