The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

assertions::activate - activate assertions

SYNOPSIS

use assertions::activate 'Foo', 'bar', 'Foo::boz::.*';

# activate all assertions
use assertions::activate;

DESCRIPTION

This module is used internally by perl (and its -A command-line switch) to enable and disable assertions. It can also be used directly.

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.

SEE ALSO

assertions, perlrun.

AUTHOR

Salvador Fandiño, <sfandino@yahoo.com>

COPYRIGHT AND LICENSE

Copyright 2002 by Salvador Fandiño

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.