die "Unfit" unless defined my $fit = Test::CallFlow::ArgCheck::Regexp->new( qr/^..$/ )->check( 0, [ 'foo' ] );
Checks arguments against a regular expression. See base class Test::CallFlow::ArgCheck.
Test::CallFlow::ArgCheck
$checker->check( 1, [ 'foo', 'bar' ] ) ? 'ok' : die;
Checks the argument at given position in referred array against a regular expression.
To install Test::CallFlow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::CallFlow
CPAN shell
perl -MCPAN -e shell install Test::CallFlow
For more information on module installation, please visit the detailed CPAN module installation guide.