http://qs1969.pair.com?node_id=802492


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". ;-)