Pb
view release on metacpan or search on metacpan
use Sub::Install qw< install_sub >;
use File::Basename;
use Pb::Command::Context;
sub import
{
my $caller = caller;
_setup_signal_handlers();
strict->import::into($caller);
warnings->import::into($caller);
feature->import::into($caller, ':5.14');
autodie->import::into({level=>1}, ':all'); # `autodie` requires a bit of magic ...
goto \&Exporter::import;
}
# This is a global, sort of ... it has a global lifetime, certainly, but not global visibility.
# Think of it like a singleton. Most of our methods can either be called as object methods, in
# which case they operate on the object invocant, or just as straight functions, in which case they
( run in 0.386 second using v1.01-cache-2.11-cpan-299005ec8e3 )