Carp::Assert::More, handy assertion functions for Perl
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
t
.gitignore
.travis.yml
Changes
INSTALL
MANIFEST
Makefile.PL
More.pm
README.md
perlcriticrc

README.md

Carp::Assert::More

Build Status

Carp::Assert::More is a set of handy assertion functions for Perl.

For example, instead of writing

assert( defined($foo), '$foo cannot be undefined' );
assert( $foo ne '', '$foo cannot be blank' );

you can write

assert_nonblank( $foo, '$foo cannot be blank' );