- or download this
my %CountryCode = {
'com','Comercial',
'uk','The United Kingdom',
} # a hash of country name
- or download this
my %CountryCode = (
'com','Comercial',
'uk','The United Kingdom'
);
# a hash of country names
- or download this
if ($Country == $key){ #get the key of country name
$CountryName = $CountryCode($key); #assign the key value to a varia
+ble
}