Skip Menu |

This queue is for tickets about the Encode-Locale CPAN distribution.

Report information
The Basics
Id: 65975
Status: resolved
Priority: 0/
Queue: Encode-Locale

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

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



Subject: Encode::Locale produces warnings
On my Ubuntsu, Encode::Locale produces warnings: $ perl -we 'use Encode::Locale' Name "Encode::Locale::ENCODING_UTF-8" used only once: possible typo at /home/gfx/perl5/perlbrew/perls/perl- 5.12.2/lib/site_perl/5.12.2/Encode/Locale.pm line 8 -- Goro Fuji (gfx) GFUJI at CPAN.org
On Sun Feb 20 21:49:03 2011, GFUJI wrote: Show quoted text
> On my Ubuntsu, Encode::Locale produces warnings: > > $ perl -we 'use Encode::Locale' > Name "Encode::Locale::ENCODING_UTF-8" used only once: possible typo at > /home/gfx/perl5/perlbrew/perls/perl- > 5.12.2/lib/site_perl/5.12.2/Encode/Locale.pm line 8
That's pretty mysterious to me. What does the first 10 lines of you /home/gfx/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/Encode/Locale.pm look like?
Oh, sorry. It's line 81, not 8. Adding `no warnigs 'once'` will fix this issue: https://github.com/gisle/encode-locale/pull/3 -- Goro Fuji (gfx) GFUJI at CPAN.org
Applied suggested patch to my branch (with some updates)