Skip Menu |
 

This queue is for tickets about the Module-ExtractUse CPAN distribution.

Report information
The Basics
Id: 107375
Status: new
Priority: 0/
Queue: Module-ExtractUse

People
Owner: Nobody in particular
Requestors: jtbraun [...] CPAN.org
Cc:
AdminCc:

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



Subject: Invalid Parse::RecDescent grammar
Download (untitled) / with headers
text/plain 735b
The action for the rule 'require_name' contains: return 1 if ($name=~/\.pl$/); This is not allowed, see "Using return in an action" in http://search.cpan.org/~jtbraun/Parse-RecDescent-1.967013/lib/Parse/RecDescent.pm. Additionally, this means that statements like: require "something.pl" Will not be reported as dependencies. It's not clear if that was intended or not. This is matched in the test cases in 10_basic.t: ['require "some/stuff.pl";',undef,undef,undef], # original, probably incorrect #['require "some/stuff.pl";',[qw(some/stuff.pl)],undef,[qw(some/stuff.pl)]], # modified, probably correct Please take a look at what was intended and remove the return statement from the action, when you have a chance.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.