App-Sandy
view release on metacpan or search on metacpan
lib/App/Sandy/Base.pm view on Meta::CPAN
return if not defined $msg;
chomp $msg;
say STDERR $msg if $LOG_VERBOSE;
}
sub import {
my ($class, @opts) = @_;
my $caller = caller;
# Import as in Moder::Perl
strict->import;
feature->import(':5.14');
utf8->import($caller);
true->import;
Carp->import::into($caller);
Try::Tiny->import::into($caller);
# Custom handy function
do {
no strict 'refs'; ## no critic
*{"${caller}\:\:log_msg"} = \&log_msg;
( run in 0.261 second using v1.01-cache-2.11-cpan-299005ec8e3 )