# from Jonathan Swartz
# on Friday 11 September 2009 18:08:
>1) Don't bother putting $VERSION anywhere except the main module
This might get you '-1 set by base.pm' or other fun surprises from
Server::Control::Apache->VERSION.
>2) Put a different $VERSION in each module, depending on when that
>module itself changes
That seems to make sense, but in reality you won't (if you're me) ever
remember to update it and that info is in the version control and
Changes files anyway.
>3) Put the same $VERSION in each module, matching the distribution and
> the main module
This is a good way to do it because you'll have a way to easily diagnose
whether you've somehow ended up with a mismatched set of modules from a
distribution and more easily find the right Changes file given any of
the modules from the dist.
And you can do it automatically with perl-reversion (cpan Perl::Version)
--Eric
--
"It works better if you plug it in!"
--Sattinger's Law
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------