App-SimulateReads
view release on metacpan or search on metacpan
lib/App/SimulateReads/Base.pm view on Meta::CPAN
BEGIN {
$SIG{'__DIE__'} = sub {
if($^S) {
return;
}
Carp::confess(@_) if $ENV{DEBUG};
die(@_);
};
}
binmode STDERR, ":encoding(utf8)";
our $LOG_VERBOSE = 1;
sub log_msg {
my ($msg) = @_;
return if not defined $msg;
chomp $msg;
say STDERR $msg if $LOG_VERBOSE;
}
sub import {
( run in 0.581 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )