X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/27fe25db96c70578d86ee1130b1d3788dd8e4c53..3dc0b09dc7b3e17b3eae7992098d1bc4edf166f7:/tools/mkcountries-geonames diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 2f12451..c203203 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -67,7 +67,7 @@ while (<>) { my ($iso, $name, $cont, $tld) = (split /\t/)[0, 4, 8, 9]; my @info = ($name, "c-\L$cont"); $info[3] = $tld if $tld =~ s/\A\.// and $tld ne lc $iso; - $cc{ lc $iso } = \@info; + $cc{ lc $iso } //= \@info; } $cc{io}->[2] = "Chagos Islands";