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

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

From:
David Golden
Date:
September 8, 2011 13:10
Subject:
Re: [rt.cpan.org #70622] Versions Disappear
Message ID:
CAOeq1c945VQEQ-D6BgX_7jtUFDYCAsW3hSFMJNMaPxTYZSedhg@mail.gmail.com
On Thu, Sep 8, 2011 at 1:56 PM, David E. Wheeler <david@kineticode.com> wrote:
> What's the preferred way to get the version for a package, then? $Foo::VERSION? Never cared for the direct package access syntax.

Flip the question around.  Why do you need to get the version for a
package and do you really need the version or do you need to do an
operation on the version that could be encapsulated by something else?

-- David



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