develooper Front page | perl.perl5.porters | Postings from August 2016

Re: [perl #128786] making $^V a version object broke functionality

Thread Previous | Thread Next
August 4, 2016 07:50
Re: [perl #128786] making $^V a version object broke functionality
Message ID:
Aristotle Pagaltzis wrote:
>specifically, always a single digit '5' -- plus a dot and then 6 digits
>after that.

No, it's not of that form on every version.  On 5.8.0 it's "5.008",
only three digits after the dot.  And it's not always been constructed
as a string; these shorter strings arise by it being constructed as an
NV and converted.  The string form is certainly the form to work from,
because the NV value used to be constructed badly, but it is necessary
to be more forgiving about the digit pattern.  My sprintf formulation
is a valid way of canonicalising the digit pattern.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About