in reply to Inheritting Version
Also, some of the cleverer tricks will confuse some of the programs that extract version numbers from your script (most importantly ExtUtils::MakeMaker). They look for a line assigning to $VERSION and execute that one line. In fact, to avoid confusing them, you probably want to put your use and your assignment on one line; something like:
use Bundle::VERSION; $VERSION=Bundle::VERSION::$VERSION;
Thinking about it a bit, this is a little shorter and seems to work:
Then just put t24.version somewhere in your %INC path, with something like:our $VERSION=do 't24.version';
'1.6.80';
|
|---|