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

Re: [ #70622] Versions Disappear

David Golden
September 8, 2011 06:11
Re: [ #70622] Versions Disappear
Message ID:
On Wed, Sep 7, 2011 at 12:57 PM, David E. Wheeler <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About