That would be a good idea but do CPAN authors know the minimum perl required for their modules?
What about old modules such as Net::Telnet will anyone release a new version of it just to include the META.yml and this information. (actually that would be a good idea :-) | [reply] |
do CPAN authors know the minimum perl required for their modules?
I would hope so. But what they might not know is the minimum Perl version for all of their prerequisite modules. But if each module knows a) its minimum version and b) all of its prereqs, then something like CPANPLUS (or, perhaps, CPANTS) could walk the tree and tell you if one of your prereqs needs a more recent version that the one that your are currently reporting.
What about old modules such as Net::Telnet will anyone release a new version of it just to include the META.yml
Maybe if it became a kwalitee measure :-)
--
< http://dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |
do CPAN authors know the minimum perl required for their modules?
I would hope so.
Really? It seems like kind of a lot to ask every CPAN author. Maybe I'm missing something, but I can think of two ways one would know the minimum version of perl required for their module:
- Know the details of each perl version well enough to predict what features their code uses will break and when those features appeared
- Try their module out on each successive old version until they reach one that breaks
Neither of which seem like viable options for the majority of CPAN contributors. Now, I would hope most authors know at least one version that their module works on -- that is, the version it was developed against. But that is not the minimum version.
| [reply] |