Zydeco
view release on metacpan or search on metacpan
lib/Zydeco.pm view on Meta::CPAN
# Optionally export wrapper subs for pre-declared types
#
if ($opts{declare}) {
my $types = $opts{type_library};
$me->_predeclare($caller, $types, @{ $opts{declare} });
}
# Export utility stuff
#
Zydeco::_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.268 second using v1.01-cache-2.11-cpan-299005ec8e3 )