- or download this
{
package Naughty;
use base 'Exporter';
...
else {
print "home free";
}
- or download this
package strict::can;
use warnings;
...
}
1;
- or download this
#!perl
#use Test::More tests => 1;
...
ok !Unsuspecting::Subclass->can('_private'),
'strict::can should ignore functions which begin with an underscore'
+;
- or download this
sub can {
my ( $proto, $method ) = @_;
...
}
return;
}