Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: One global $VERSION number in modules

by adrianh (Chancellor)
on Aug 24, 2007 at 19:39 UTC ( #634944=note: print w/ replies, xml ) Need Help??


in reply to $VERSION in modules with multiple packages

  • define $VERSION in all packages, sync them in all files before release
  • define $VERSION in all packages, but these are internal version numbers (update only when package changes)

I personally prefer one of these two. I dislike distributions where modules don't have a set version, or inherit one from a base package.

This is due to the (unfortunately) many times where I've been faced with the contents of an @INC that's been an unholy mixture of different modules form different distributions. Being able to track down the version numbers of different modules has been a godsend in those instances - and a complete pain when absent.


Comment on Re: One global $VERSION number in modules

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2014-12-18 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (59 votes), past polls