Re: Proper technique for setting a project-wide $VERSION?
David Golden <[email protected]> Fri, 19 Feb 2010 17:01:05 -0500
| Newsgroups | gmane.comp.lang.perl.modules.module-build |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 19, 2010 at 4:14 PM, Michael G Schwern <[email protected]> wrote: > 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. Is *not* using version.pm an option? > A simple fix would seem to be putting "use lib 'lib'" into the Build.PL. > Any caveats. Alternatively, anyone have a better way? I'd probably just write another script to do s///. Should be easy, since not many lines will start "use version 0.77;..." -- David