ifdef
view release on metacpan or search on metacpan
lib/ifdef.pm view on Meta::CPAN
#---------------------------------------------------------------------------
# IN: 1 class (ignored)
# 2..N keys to watch for
sub import {
# being called from source (unless it's from the test-suite)
warn "The '".
__PACKAGE__.
"' pragma is not supposed to be called from source\n"
if ( (caller)[2] ) and ( $_[0] ne '_testing_' and !shift );
# lose the class
shift;
# check all parameters
my @ignored;
foreach (@_) {
# it's all
if ( m#^:?all$# ) {
$ALL= 1;
( run in 1.283 second using v1.01-cache-2.11-cpan-a3c8064c92c )