And for the record, there are modules with incorrect C<require>
concerning the Perl version. For example, some ask a Perl 5.005
while they perfectly work on 5.004, like File::Temp and
Test::Reporter. That's how I can send CPAN Testers reports
under 5.004:
http://testers.cpan.org/show/Net-Pcap.html
And there are several modules that works on 5.004, but not their
test suite (like Test-Simple IIRC), or modules which depend upon
modules that requires a higher version of Perl than themselve.
These cases annoy me a bit too.
Perl::MinimumVersion is _supposed_ to integrate with Module::ScanDeps to
do dependency discovery, and then check all your deps (at a per-file
level at least) for their depdencies.
If you say 5.005 but your deps need 5.006 I plan to consider it an error.
If someone were to find the time to help add Module::ScanDeps
integration to Perl::MinimumVersion I would be terribly grateful :)
Adam K