Skip Menu |

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

Report information
The Basics
Id: 67449
Status: new
Priority: 0/
Queue: Locale-Geocode

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

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



Subject: Stopping warnings for countries which have no divisions
Hi I'm getting this msg: Use of uninitialized value within @_ in lc at /home/ron/perl5/perlbrew/perls/perl- 5.12.2/lib/site_perl/5.12.2/Locale/Geocode/Division.pm line 49. Line 208 of Locale::Geocode::Territory needs to be: return map { $self->lookup($_->{code}) || () } grep{defined && defined $_->{code} } @{ $self->{data}->{division} }; to handle those countries without divisions. Cheers Ron