Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
The stupid question is the question not asked
 
PerlMonks  

Re: Versioning modules in a package

by stvn (Monsignor)
on Oct 04, 2004 at 17:42 UTC ( [id://396400]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Versioning modules in a package

Is this common practice? Any thoughts?

I used to update the $VERSION on all packages in a module every time I released it. This way they were all in sync and looked nice and neat on CPAN. However, recently I have decided to change that approach. I had two basic reasons why I decided this:

  1. I found often when I was making a change which only affected one package in the module, it felt weird incrementing the version number in the others, since they didn't change.
  2. When adding packages to a module, it didn't make sense to start that new package at a version number higher than 0.01.
And dragonchild has a good point, your version is more tied to the version your source control gives you, and the version everyone else cares about is the release version, both are pretty arbitrary with the exception that they are expected to always go up.

Excellent question, BTW.

-stvn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://396400]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.