jsonpretty
view release on metacpan or search on metacpan
script/jsonpretty view on Meta::CPAN
# disable this since Foo->VERSION(undef) correctly returns the version
# and that can happen either if our caller passes undef explicitly or
# because the for above autovivified $_[1] - I could make it stop but
# it's pointless since we don't want to blow up if the caller does
# something valid either.
no warnings 'uninitialized';
shift->SUPER::VERSION(@_);
}
sub import {
strict->import;
warnings->import(FATAL => 'all');
my $do_indirect = do {
if (exists $ENV{PERL_STRICTURES_EXTRA}) {
$ENV{PERL_STRICTURES_EXTRA}
} else {
!!($0 =~ /^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/
and (-e '.git' or -e '.svn'))
}
};
if ($do_indirect) {
( run in 0.406 second using v1.01-cache-2.11-cpan-299005ec8e3 )