Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-PrereqScanner CPAN distribution.

Report information
The Basics
Id: 55851
Status: resolved
Priority: 0/
Queue: Perl-PrereqScanner

People
Owner: Nobody in particular
Requestors: marcel [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.100690
Fixed in: (no value)



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' );
On Tue Mar 23 16:17:41 2010, MARCEL wrote: Show quoted text
> my $prereqs = $scan->scan_string(<<'EOPERL'); > my $foo = 'Carp'; > require $foo; > EOPERL
fixed: this snippet won't add any (empty) prereq anymore. and no, we won't interpolate $foo. :-) v0.100830 on its way.