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

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

From:
David Golden
Date:
September 6, 2011 14:03
Subject:
Re: [rt.cpan.org #70622] Versions Disappear
Message ID:
CAOeq1c_OZCDBzsWvxuocn=_13mfZxc3r7y0YU-vEFdGe+XEZjA@mail.gmail.com
On Tue, Sep 6, 2011 at 3:04 PM, David E. Wheeler <david@kineticode.com> wrote:
> On Sep 6, 2011, at 10:57 AM, Father Chrysostomos wrote:
>
>>> But how much has it been complained about, really?
>>
>> The only part of it that I really disliked what that it would choke
>> on what it considered invalid versions, even though I was just
>> asking for the version, not asking it to validate.
>>
>> I complained about that twice.  Someone else complained about it in
>> an RT ticket.
>
> How about some other interface to return a validated version object?

C<< version->parse( Foo->VERSION ) >>

:-)

-- David



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