Skip Menu |

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

Report information
The Basics
Id: 38599
Status: resolved
Priority: 0/
Queue: Locale-SubCountry

People
Owner: kimryan [...] cpan.org
Requestors: RSAVAGE [...] cpan.org
Cc:
AdminCc:

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



Subject: Fix for some conversions from sub-country name to code
Sometimes the conversion of a sub-country name to code fails. E.g. United Kingdom's St. Helens. This is because of the '.' in 'St.', right? So I suggest, in sub code: Follow this line: my $code = $::subcountry_lookup{$sub_country->{_country}}{_full_name_keyed}{$full_name}; with: if (! defined $code) { $code = $::subcountry_lookup{$sub_country->{_country}}{_full_name_keyed}{$orig}; }
Should be fixed in version 1.43