develooper Front page | perl.perl5.porters | Postings from September 2011

Re: [rt.cpan.org #70622] Versions Disappear

From:
David Golden
Date:
September 8, 2011 06:11
Subject:
Re: [rt.cpan.org #70622] Versions Disappear
Message ID:
CAOeq1c9gh9vq8SX3DbTyYT3zMmpNHAvwf+bvaVPZrdd1hojOgQ@mail.gmail.com
On Wed, Sep 7, 2011 at 12:57 PM, David E. Wheeler <david@kineticode.com> wrote:
> But honestly, isn't it time we figured out what's the *correct* thing to do, and do that? Maybe scope it with `use v5.10` or even `use v5.16`, and then just do that? Time to find a solution and end the pain (not to mention the arguments).

I would support having "package NAME VERSION" automatically upgrade
VERSION to a version object.  I think right now it just puts it as a
string in $NAME::VERSION.  That syntax already requires a valid
version string -- not "3.0crap" or anything like that.

Eventually, when package NAME VERSION become the one true way to set
$VERSION, everything will be a version object and these problems will
go away.   Just give it 10 years or so.

-- David



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About