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

Re: [ #70622] Versions Disappear

Jesse Luehrs
September 8, 2011 07:27
Re: [ #70622] Versions Disappear
Message ID:
On Thu, Sep 08, 2011 at 09:10:41AM -0400, David Golden wrote:
> 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.

$ perl -E'package Foo 1.23; say ref($VERSION)'

-doy Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About