develooper Front page | perl.perl5.porters | Postings from October 2017

[perl #131155] string-to-number coercion caching broken by locale

Thread Previous
James E Keenan via RT
October 1, 2017 02:30
[perl #131155] string-to-number coercion caching broken by locale
Message ID:
On Sat, 30 Sep 2017 23:30:45 GMT, wrote:
> James E Keenan via RT wrote:
> > Are these the results I should have expected for these two versions
> > of perl?
> Those results match what I see and what I described in the bug report.
> -zefram

Thanks.  Bisection indicates that the following is the commit where the behavior changed:

commit 21431899afb43e8c4b449a110e568818ab0ef051
Author:     Karl Williamson <>
AuthorDate: Sun Jun 1 16:02:24 2014 -0600
Commit:     Karl Williamson <>
CommitDate: Thu Jun 5 11:23:00 2014 -0600

    Make sure locale set right for radix parsing
    I haven't found a test case this fails for in v5.20, but I'm sure there is one.  But two commits from now would fail if this wasn't done.


Whether the change in behavior was good, bad, or some mix thereof, is up for discussion.

Thank you very much.

James E Keenan (

via perlbug:  queue: perl5 status: open

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