in reply to Re: <pkg>::VERSION, git, hashes, shipit, Class::MOP, Moose, perl core support - what NOW makes sense.
in thread <pkg>::VERSION, git, hashes, shipit, Class::MOP, Moose, perl core support - what NOW makes sense.
Then use Your::Dist::Version from every module in the distribution. Everything that does has the One True Version inserted into its namespace.But it won't work.
The CPAN indexer searches for lines in modules that seems to set the VERSION number, extracts that line, and executes it. Just that line. Nothing more. Any clever tricks you'd like to use will work at run time (for instance, if someone does use Module VERSION;), but the important part, the CPAN indexer, won't be able to find the version number.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: <pkg>::VERSION, git, hashes, shipit, Class::MOP, Moose, perl core support - what NOW makes sense.
by moritz (Cardinal) on Apr 21, 2009 at 22:37 UTC |