I would do (and have done) the first option. If there was some strong reason to have version numbers defined in multiple packages, then I'd have Some::Package::Version which simply defines the version number and exports it using Exporter; I wouldn't use inheritance. But I find that an unlikely feature requirement, especially since you mention inheritance.
- tye
In reply to Re: One global $VERSION number in modules (TCBOO)
by tye
in thread $VERSION in modules with multiple packages
by lima1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |