Okay, you might have persuaded me of the merits of declaring all modules
used (even core ones)...
However, I still feel it won't fix bug reports like these:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/09/msg5447753.html
http://www.nntp.perl.org/group/perl.cpan.testers/2009/09/msg5289494.html
I just tried again with a vandalized perl having no Pod::Usage in it,
and you can't even build Filter-Crypto because it is used in the
Makefile.PL:
C:\Dev\Build\Filter-Crypto-1.25>perl Makefile.PL
Can't locate Pod/Usage.pm in @INC (@INC contains: inc C:/perl560/lib
C:/perl560/site/lib .) at inc/Module/Install/PRIVATE.pm line 31.
BEGIN failed--compilation aborted at inc/Module/Install/PRIVATE.pm line 31.
Compilation failed in require at inc/Module/Install.pm line 261.
Can't call method "process_opts" without a package or object reference
at Makefile.PL line 82.
And even if you build Filter-Crypto with Pod::Usage in place, then get
rid of it before running the tests (which surely no CPAN Testers will be
doing), the pattern of test failures is completely different to either
of those reports:
t/03_script.t (Wstat: 512 Tests: 71 Failed: 51)
Failed tests: 1, 3-4, 7-9, 11-13, 15-17, 19-21, 23-26
28-42, 44-47, 49-52, 54, 57-58, 60-61, 63
66-67, 71
Non-zero exit status: 2
Parse errors: Bad plan. You planned 99 tests but ran 71.
Files=6, Tests=369, 30 wallclock secs ( 0.33 usr + 0.02 sys = 0.34 CPU)
Result: FAIL