Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^4: CPAN modules on old versions of perl?

by revdiablo (Prior)
on Nov 28, 2006 at 17:21 UTC ( #586526=note: print w/replies, xml ) Need Help??

in reply to Re^3: CPAN modules on old versions of perl?
in thread CPAN modules on old versions of perl?

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.

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

Replies are listed 'Best First'.
Re^5: CPAN modules on old versions of perl?
by davorg (Chancellor) on Nov 29, 2006 at 08:39 UTC

    On further reflection I think you're probably right. I realised that I couldn't really tell you which version of Perl any of my modules need. I think I insist on 5.6 for most of them - but that's because I use "our" and "use warnings".

    Perhaps it would be useful if we had a list of the features that were added in each version of Perl. I don't mean just dumping the contents of the delta files, but something a bit higher level. Does anyone know of anything like that?


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://586526]
[MidLifeXis]: ISTR having a couple of issue based on undeclared dependencies around the time I was looking at that module on my last project, but cannot say if that was the module that I had the dependency issues with.
[MidLifeXis]: (5.22 at that time)
[MidLifeXis]: Yeah, I know, really helpful :-)
[Corion]: If all else fails, Spreadsheet::XLSX should be "installable" by manually copying the files, provided that the prerequisites are met
[thezip]: It fails in the "formatted 2-digit numeric" tests
[thezip]: Okay Corion, that's what I wanted to hear. Thanks!
[Corion]: Oh, a test failure... Just force-install it then? --force and potentially --notest to skip the tests alltogether ?
[ambrus]: thezip: is Activestate Perl usable for your scenario instead?
[MidLifeXis]: Yeah, --notest is good, not sure I would do --force.
[thezip]: It fails 2/10 tests in that group. What are the ramifications if I force it? What should I look for for?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-23 17:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (290 votes). Check out past polls.