Hi,
I want to set a $VERSION for my whole project, same in every .pm file. I used
to just use a script that did some s/// but its gotten a bit more complicated
now that I'm using version.pm.
What I tried is to have lib/perl5i/VERSION.pm which contains:
package perl5i::VERSION;
use version 0.77; our $VERSION = qv("v0.2.1");
And other .pm files do:
use perl5i::VERSION; our $VERSION = perl5i::VERSION->VERSION;
Unfortunately when Build.PL is reading the version it picks up the installed
perl5i::VERSION and not the one sitting in lib.
A simple fix would seem to be putting "use lib 'lib'" into the Build.PL. Any
caveats. Alternatively, anyone have a better way?
--
151. The proper way to report to my Commander is "Specialist Schwarz,
reporting as ordered, Sir" not "You can't prove a thing!"
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/