Builtin-Logged
view release on metacpan or search on metacpan
lib/Log/Any/For/Builtins.pm view on Meta::CPAN
", $Max_Log_Output shown" : ""),
ellipsis($output // '', $Max_Log_Output+3));
}
$wa ? @output : $output;
}
sub import {
no strict 'refs';
my ($self, @args) = @_;
my $caller = caller();
for my $arg (@args) {
if ($arg eq 'system') {
*{"$caller\::system"} = \&system;
} elsif ($arg eq 'my_qx') {
# back compat
*{"$caller\::my_qx"} = \&readpipe;
} elsif ($arg eq 'readpipe') {
*{"$caller\::readpipe"} = \&readpipe;
} else {
( run in 0.346 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )