Re: Proper technique for setting a project-wide $VERSION?

2010-02-24 Thread Jozef Kutej
brian d foy wrote: In article 4b7eff1d.8060...@pobox.com, Michael G Schwern schw...@pobox.com wrote: And other .pm files do: use perl5i::VERSION; our $VERSION = perl5i::VERSION-VERSION; I'd rather see explicit versions in the code just so I can see a file and know what version it

Proper technique for setting a project-wide $VERSION?

2010-02-19 Thread Michael G Schwern
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

Re: Proper technique for setting a project-wide $VERSION?

2010-02-19 Thread David Golden
On Fri, Feb 19, 2010 at 4:14 PM, Michael G Schwern schw...@pobox.com 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

Re: Proper technique for setting a project-wide $VERSION?

2010-02-19 Thread Eric Wilhelm
# from Michael G Schwern # on Friday 19 February 2010 16:45: Is *not* using version.pm an option? For once, I really need x.y.z versions. http://search.cpan.org/~mschwern/perl5i-v0.2.2/lib/perl5i.pm#VERSIONING I'll continue to hold the opinion that vX.Y.Z versions don't strictly require