Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl 5.11.1 released

by Burak (Chaplain)
on Oct 21, 2009 at 16:27 UTC ( [id://802492]=note: print w/replies, xml ) Need Help??


in reply to Perl 5.11.1 released

Package declarations can now include a version number.
huh? To replace $VERSION? That sounds a little odd to me.

Replies are listed 'Best First'.
Re^2: Perl 5.11.1 released
by ikegami (Patriarch) on Oct 21, 2009 at 16:38 UTC
    No, to set $VERSION
    package Foo 1.23;
    is roughly the same as
    package Foo; BEGIN { our $VERSION = 1.23; }

      Nice, because it is symmetric to use Foo 1.07.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://802492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2024-04-25 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found