develooper Front page | perl.perl5.porters | Postings from May 2014

Re: [perl #121769] Module::CoreList is inconsistent in its use oftrailing zeros in perl version numbers

Thread Previous
From:
Leon Timmermans
Date:
May 2, 2014 12:36
Subject:
Re: [perl #121769] Module::CoreList is inconsistent in its use oftrailing zeros in perl version numbers
Message ID:
CAHhgV8iU2bkieEE0tc_W26Va8BMbuKnaqMApyr3jGLZiQYgSnQ@mail.gmail.com
On Wed, Apr 30, 2014 at 2:13 PM, Steve Hay <perlbug-followup@perl.org>wrote:

> The use of trailing zeros in perl version numbers (e.g. in the keys of
> %released
> and %version) is inconsistent, leading to difficulty in looking anything
> up in
> them.
>
> For example, v5.9.0 appears as 5.009 but not 5.009000, whereas v5.10.0
> appears
> as 5.010000 but not 5.010 (or 5.01).
>
> Some versions do have both forms, e.g. v5.19.0 appears as both 5.019
> and 5.019000. It would probably be simplest if every version with
> trailing zeros existed in both forms like that.
>

As far as I know, the source of this is that $] didn't use to have trailing
zeros, but since 5.10 it does. M::CL must always be able to accept $]. I
don't think duplication is much of a good idea, but having some kind of
aliasing may be worthwhile.

Leon

Thread Previous


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