On 08/01/2013 19:16, Ben Deutsch wrote:
A question of my own: I immediately thought of the "single point of
truth" idiom, and would have written something like this:
package My::Sub::Module;
use My::Base::Module;
our $VERSION = $My::Base::Module::VERSION;
or similar. Would this trip up some version processing infrastructure
somewhere?
Yes, it will trip up anything that tries to extract the version from the
code without running it. This includes the PAUSE indexer so your code
will either not get indexed or will get indexed wrongly.
--
David Cantrell | Cake Smuggler Extraordinaire
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H. L. Mencken