Skip Menu |

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

Report information
The Basics
Id: 35092
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

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

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



Subject: Metaprogramming confuses prereq_matches_use
I just noticed that http://cpants.perl.org/dist/kwalitee/WebService-NFSN shows it failing prereq_matches_use. The error says "Undefined prereqs: WebService::NFSN::" I'm assuming that comes from this snippet: eval <<"END CHILD CONSTRUCTOR"; ## no critic ProhibitStringyEval sub $sub { require WebService::NFSN::$class; WebService::NFSN::$class->new(\@_); } END CHILD CONSTRUCTOR This is used in a loop to autogenerate methods for creating objects. Since WebService::NFSN:: is not a valid module name, I think CPANTS ought to assume it didn't understand the code and just ignore it.
fixed in svn, I will upload the new code to cpants.perl.org soon, so the data on the site should be fixed soon, too.