Sébastien Aperghis-Tramoni wrote:
Adam Kennedy wrote:


has_perl_dependency:

In the META.yml (assuming it exists) there is a dependency on the
version of perl required to install the dist.


Problem is that the version said to be required is often bogus. For example,
the distributions created with h2xs since Perl 5.8 all contain a prereq using
the version of the local Perl. Hence a good number of recents uploads on the
CPAN with "use 5.008007" while the code perfectly works under any 5.8.x

That's just fine, because the first thing that's going to happen is that they are going to try to install the module on some other machine and boom "insufficient version".

Or it will be the first bug that gets reported...

But at least it's known and obvious and the author has to do the check to see which version and become aware of the issue in the process.

Personally, I wouldn't mind seeing a default of 5.006 and some Perl::MinimumVersion + CPAN Testers method for testing if it works undef 5.006 or not. P:MinVer grabs the easy to see cases, CPAN Testers gets the rest.

Adam K

Reply via email to