On Thu, 8 Jan 2004 19:46:04 -0800, David Wheeler wrote: > What's the consensus on the version numbers to give to different > modules in a CPAN distribution? [snip] > Still others have made all of the modules > in a single distribution have the same version number. > This is the practice I have followed in my 2 CPAN distributions (List-Compare and Data-Presenter) and I developed a script which goes through all files in a distribution (i.e., manifests and readmes as well as .pm files) and prompts me to increment both version numbers and dates.
But I started to do this not out of any firm belief that all modules in a distro should have the same version number, but simply because previously only my main module had a version number; packages/sub-modules called internally lacked a version number. I realized that this was not good and made a somewhat arbitrary decision to use the same $VERSION throughout. Some of the solutions proposed by others may work better for their modules, particularly if they're using CVS. Jim Keenan
