Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634944]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2018-06-18 12:38 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.