[rt.cpan.org #105461] $Wx::VERSION is locale dependent on 0.9923

[email protected] ("Olivier Mengué via RT")
Newsgroups perl.wxperl.users
Message-ID <[email protected]>
Wed Jun 24 04:57:13 2015: Request 105461 was acted upon.
Transaction: Ticket created by DOLMEN
       Queue: Wx
     Subject: $Wx::VERSION is locale dependent on 0.9923
   Broken in: 0.9923
    Severity: Critical
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105461 >


With perl 5.16.3 and Wx 0.9923 on Ubuntu 14.04, the value of $Wx::VERSION is
dependent on the locale setting for the decimal separator:

$ LC_NUMERIC=fr_FR.UTF-8 PLENV_VERSION=5.16.3 perl -MWx -E 'say $Wx::VERSION'
0,9923

$ LC_NUMERIC=C PLENV_VERSION=5.16.3 perl -MWx -E 'say $Wx::VERSION'
0.9923


I can't reproduce this in perl 5.20.1 with Wx 0.9927, but I don't see either
anything mentionned related to this in the Changes file.


--
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.