have Sub::Name installed.
use Scalar::Util qw/reftype/;
BEGIN {
- if ( eval 'use Sub::Name ();' ) {
+ if ( eval 'use Sub::Name (); 1;' ) {
plan tests => 65;
}
else {
use Test::More;
BEGIN {
- if ( eval 'use Sub::Name qw(subname);' ) {
+ if ( eval 'use Sub::Name qw(subname); 1;' ) {
plan tests => 5;
}
else {