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};
}