jonasbn has asked for the wisdom of the Perl Monks concerning the following question:
Which is then used in the 3 other packages:package PoorMansConfiguration::VERSION; $VERSION = '1.34';
The problem with this solution is that is not easily recognized by version parsing code, like the code used by Module::Build. So is there a better way to solve my problem?BEGIN { use PoorMans::Configuration::VERSION; $VERSION = $PoorMans::Configuration::VERSION::VERSION; };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: 3 packages 1 uniform version
by roboticus (Chancellor) on Feb 08, 2008 at 22:56 UTC | |
by jonasbn (Scribe) on Feb 09, 2008 at 22:47 UTC | |
by Anonymous Monk on Feb 11, 2008 at 07:37 UTC | |
by polettix (Vicar) on Feb 14, 2008 at 18:56 UTC | |
Re: 3 packages 1 uniform version
by samtregar (Abbot) on Feb 08, 2008 at 22:27 UTC | |
by jonasbn (Scribe) on Feb 09, 2008 at 20:38 UTC | |
by proceng (Scribe) on Feb 10, 2008 at 17:09 UTC |