What's the consensus on the version numbers to give to different modules in a CPAN distribution? I've traditionally only incremented the main module in a distribution and any modules that have been changed since the last release. But this means that I have modules in a single distribution with different version numbers. Other CPAN authors have omitted version numbers from all but the module that names the distribution. Still others have made all of the modules in a single distribution have the same version number.
I prefer the latter. I have an update script that forces me to go through all of the module files of a distribution. It forces me to check things whenever I start a new version.
I don't like the idea of $VERSION in submodules being "inherited" from the main package: then you don't really know which version a submodule has, as installing a later "top" module with a different version number, will automatically set the $VERSION in the submodules, even if they were not updated yet when in fact they should have been. You don't have any way to spot that.
So, what do people like or prefer, and why? Is there a consensus on this? If so, what is it?
I don't think there is a consensus. ;-)
Liz
