assertions::activate - activate assertions
use assertions::activate 'Foo', 'bar', 'Foo::boz::.*'; # activate all assertions use assertions::activate;
This module is used internally by perl (and its -A command-line switch) to enable and disable assertions.
-A
Though it can also be explicetly used:
use assertions::activate qw(foo bar);
The import parameters are a list of strings or of regular expressions. The assertion tags that match those regexps are enabled. If no parameter is given, all assertions are activated.
assertions, perlrun.
Salvador Fandiño, <sfandino@yahoo.com>
Copyright 2002, 2005 by Salvador Fandiño
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install assertions, copy and paste the appropriate command in to your terminal.
cpanm
cpanm assertions
CPAN shell
perl -MCPAN -e shell install assertions
For more information on module installation, please visit the detailed CPAN module installation guide.