MooX-Pression
view release on metacpan or search on metacpan
lib/MooX/Pression.pm view on Meta::CPAN
sub $caller\::is_$name (\$) { goto \\&$types\::is_$name }
sub $caller\::assert_$name (\$) { goto \\&$types\::assert_$name }
1;
} or die($@);
}
}
# Export utility stuff
#
MooX::Pression::_Gather->import::into($caller, -gather => %opts);
strict->import::into($caller);
warnings->import::into($caller);
MooX::Press::Keywords->import::into($caller, $_)
for grep $want{$_}, qw(-booleans -privacy -util);
Syntax::Keyword::Try->import::into($caller) if $want{try};
if ($] >= 5.018) {
feature->import::into($caller, qw( say state unicode_strings unicode_eval evalbytes current_sub fc ))
if $want{-features};
}
elsif ($] >= 5.014) {
feature->import::into($caller, qw( say state unicode_strings ))
( run in 0.256 second using v1.01-cache-2.11-cpan-299005ec8e3 )