Skip Menu |

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

Report information
The Basics
Id: 55104
Status: resolved
Priority: 0/
Queue: Locale-Codes

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

Bug Information
Severity: Important
Broken in: 3.10
Fixed in: (no value)



Subject: Uninitialized vars in tests
Test output is full of 'uninitialized' warnings: PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/alias_code.t ......... ok Use of uninitialized value $code in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Country.pm line 58. Use of uninitialized value $code in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Country.pm line 58. t/code2country.t ....... ok Use of uninitialized value $code in uc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Currency.pm line 51. Use of uninitialized value $code in uc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Currency.pm line 51. t/code2currency.t ...... ok Use of uninitialized value $code in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Language.pm line 56. Use of uninitialized value $code in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Language.pm line 56. t/code2language.t ...... ok Use of uninitialized value $code in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Script.pm line 51. t/code2script.t ........ ok t/country.t ............ ok t/country2code.t ....... ok Use of uninitialized value $name in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Codes.pm line 65. Use of uninitialized value $name in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Codes.pm line 65. Use of uninitialized value $name in lc at /var/perl/cpan/build/Locale-Codes-3.10/blib/lib/Locale/Codes.pm line 65. t/country_code2code.t .. ok t/currency2code.t ...... ok t/language.t ........... ok t/language2code.t ...... ok t/pod.t ................ ok t/pod_coverage.t ....... ok t/script2code.t ........ ok All tests successful. Files=14, Tests=281, 8 wallclock secs ( 0.22 usr 0.08 sys + 5.14 cusr 1.39 csys = 6.83 CPU) Result: PASS
Can you give me some more information (i.e. what version of perl, what platform you're running on, etc.). Preferably, attach the output from "perl -v" so I can see everything. The tests work fine for me, and CPAN testers are reporting 100% passes on every platform that 3.10 is being tested on, so I'm not sure why you're seeing this.
Subject: Re: [rt.cpan.org #55104] Uninitialized vars in tests
Date: Mon, 1 Mar 2010 10:40:28 -0500
To: bug-Locale-Codes [...] rt.cpan.org
From: "Jerry D. Hedden" <jdhedden [...] cpan.org>
On Mon, Mar 1, 2010 at 10:08, Sullivan Beck via RT <bug-Locale-Codes@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55104 > > > Can you give me some more information (i.e. what version of perl, what > platform you're running on, etc.). Preferably, attach the output from > "perl -v" so I can see everything. > > The tests work fine for me, and CPAN testers are reporting 100% passes > on every platform that 3.10 is being tested on, so I'm not sure why > you're seeing this.
You're correct. I tried this with 5.10.1 and I didn't have those 'errors'. They are appearing under blead (i.e., 5.11.5). So this would be a heads up anticipating them showing up in the upcoming 5.12 release.
I just released version 3.11 which fixes this problem. It was a minor problem (in that it only caused warnings... no actual errors), but it was annoying. It should be available from CPAN by tomorrow.