Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 105461
Status: new
Priority: 0/
Queue: Wx

Owner: Nobody in particular
Requestors: dolmen [...]

Bug Information
Severity: Critical
Broken in:
  • 0.9923
  • 0.9924
  • 0.9925
  • 0.9926
  • 0.9927
Fixed in: (no value)

Subject: $Wx::VERSION is locale dependent on 0.9923
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'

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

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é - -
This issue has distant side-effects: it breaks AnyEvent.

$ LC_NUMERIC=fr_FR.UTF-8 perl -MWx -MAnyEvent::Loop -E 'say AnyEvent::Loop::ROUNDUP'
Undefined subroutine &AnyEvent::Loop::ROUNDUP called at -e line 1.
$ LC_NUMERIC=C perl -MWx -MAnyEvent::Loop -E 'say AnyEvent::Loop::ROUNDUP'

Olivier Mengué - -
I'm not reproducing the issue on perl 5.18.2 and 5.20.1 on the otherwise same environment.
Well, 0.9927 doesn't build properly on 5.18.2 (Wx::Media not found reported by t/01-load.t), but this is another issue.

Olivier Mengué - -
I've also reported the issue on the AnyEvent mailing list:

Avoiding perl 5.16 (that is not anymore supported) is recommended:

Olivier Mengué - -

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to