Subject: | require $foo produces empty string requirement |
my $scan = Perl::PrereqScanner->new;
my $prereqs = $scan->scan_string(<<'EOPERL');
my $foo = 'Carp';
require $foo;
EOPERL
produces
$VAR1 = bless( {
'' => bless( {
'minimum' => bless( {
'original' => '0',
'version' => [
0
]
}, 'version' )
}, 'Version::Requirements::_Spec::Range' )
}, 'Version::Requirements' );