Carp::Assert - executable comments River stage three • 37 direct dependents • 393 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 <>. 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 wrappers around Carp::Assert River stage three • 10 direct dependents • 314 total dependents

Carp::Assert::More is a set of wrappers around the Carp::Assert functions to make the habit of writing assertions even easier. Everything in here is effectively syntactic sugar. There's no technical reason to use assert_isa( $foo, 'HTML::Lint' ); ins...

PETDANCE/Carp-Assert-More-1.26 - 26 Dec 2020 06:32:20 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.034 seconds)