I use perl-reversion -bump from Perl::Version to bump the version string in all scripts and modules of a distribution at the same time.
Having a $VERSION in every file is important to me, because files do get copied between distributions or (partially) restored from backup and it is highly confusing if running the code outputs a different (file) version than the file actually is.
In reply to Re: Using a Single Point of Truth for $VERSION in a distribution?
by Corion
in thread Using a Single Point of Truth for $VERSION in a distribution?
by jcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |