Skip Menu |

This queue is for tickets about the Lingua-PT-pln CPAN distribution.

Report information
The Basics
Id: 100603
Status: new
Priority: 0/
Queue: Lingua-PT-pln

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.21
Fixed in: (no value)



Subject: Fails with perl 5.20 and later unless LANG=C
As per subject. The exact rule for the exception is different than in the subject line. It is in t/01_wordaccent.t code in these lines: use POSIX qw(locale_h); setlocale(&POSIX::LC_ALL, "pt_PT"); use locale; plan skip_all => 'Locale not good enough' unless "ção" =~ /\w{3}/; How to trigger the exception is subject to change with perl versions. And when this test is skipped, the whole test suite gets a PASS. That's why the matrix looks a bit unstructured: http://matrix.cpantesters.org/?dist=Lingua-PT-PLN-0.21 On my smoker with LANG=en_US.UTF-8 perls before v5.19.8-204-g31f05a3 skipped the test but started to fail with that commit. Apparently I can persuade the test to pass by selecting LANG=C as can be seen here: http://www.cpantesters.org/cpan/report/b606f08e-77a7-11e4-8a7e-9a7a10862755 Let me know if you need more infos. HTH&&Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)