subs-auto
view release on metacpan or search on metacpan
t/10-base.t view on Meta::CPAN
eval { onlycalledonce 1, 2 };
_got_undefined('onlycalledonce', __LINE__-1);
# ... Method calls, anyone? ...................................................
eval { Test::More->import() };
_got_ok('don\'t touch class names');
my $strict;
sub strict { $strict = 1; undef }
eval { strict->import };
is($strict, 1, 'the strict subroutine was called');
# ... Test hash keys ..........................................................
my $c = 0;
my %h = (
a => 5,
b => 7,
);
sub a { ++$c }
( run in 0.360 second using v1.01-cache-2.11-cpan-299005ec8e3 )