Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: CPAN modules on old versions of perl?

by davorg (Chancellor)
on Nov 28, 2006 at 16:38 UTC ( #586509=note: print w/replies, xml ) Need Help??


in reply to CPAN modules on old versions of perl?

Maybe META.yaml needs to include information about the minimum version of Perl necessary. Then that information could be used in CPAN searchs.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: CPAN modules on old versions of perl?

Replies are listed 'Best First'.
Re^2: CPAN modules on old versions of perl?
by szabgab (Priest) on Nov 28, 2006 at 16:47 UTC
    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 :-)

      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

        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:

        1. Know the details of each perl version well enough to predict what features their code uses will break and when those features appeared
        2. 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2023-02-07 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?