Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Which version to target for module dependencies?

by mirod (Canon)
on Aug 17, 2005 at 05:26 UTC ( [id://484311]=note: print w/replies, xml ) Need Help??


in reply to Which version to target for module dependencies?

I agree with brian_d_foy, list a minimum version in the dependency only if you know that earlier versions break the module. The same thing goes with versions of perl BTW, there is no need to start with use 5.8.7 if the module might work in 5.6.2... or 5.004!.

This way you will start with #1 and eventually end up with #4.

Of course this will work best with good test coverage (Devel::Cover is your friend), and it can be a real a pain to make sure your tests work with old versions of perl, but I think this is the right thing to do.

  • Comment on Re: Which version to target for module dependencies?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found