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: 70323
Status: resolved
Priority: 0/
Queue: Perl-PrereqScanner

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

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



Subject: Perl::PrereqScanner doesn't recognize warnings and strict
Perl::PrereqScanner silently prunes some modules from the list of prerequisites, namely qw(strict warnings lib feature). I think this is a bug. At least there should be a way to disable this behavior. I think it's a bug because my module actually uses and depends on warnings (so it makes no sense to build it on 5.005). On the other hand, it doesn't require a specific perl version per se, just a loadable warnings.pm. A similar argument applies to feature (and if some day someone makes a working feature.pm for 5.8, it would be cool if everything just worked). Finally, some doc bugs: "It will trim the following pragamata: strict, warnings, and lib. base is trimmed unless a specific version is required." "pragmata" is misspelled and "feature" is missing from that list.
I agree. 1.005 fixes this. It still prunes lib.pm, which is not indexed in 02packages, so including it as a prereq could lead to complications. If lib.pm becomes indexed in the future, we'll probably let it be added. -- rjbs