Skip to content

Commit

Permalink
Merge pull request #45 from mjg17/mjg17/data_updates
Browse files Browse the repository at this point in the history
Mjg17/data updates
  • Loading branch information
DrHyde committed Oct 2, 2015
2 parents b46daf3 + 9f379a0 commit e4df4a1
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 127 deletions.
130 changes: 65 additions & 65 deletions lib/Number/Phone/Country/Data.pm
Expand Up @@ -182,17 +182,17 @@ $VERSION = '1.5';
'AG' => [ '1', '011', '1'], # Antigua and Barbuda
'AI' => [ '1', '011', '1'], # Anguilla
'AL' => ['355', '00', '0'], # Albania
'AM' => ['374', '00', '8'], # Armenia
'BQ' => ['599', '00', '0'], # Bonaire, Saint Eustatius and Saba (ex-Netherland Antilles)
'CW' => ['599', '00', '0'], # Curacao
'AO' => ['244', '00', '0'], # Angola
'AM' => ['374', '00', '0'], # Armenia
'BQ' => ['599', '00', undef], # Bonaire, Saint Eustatius and Saba (ex-Netherland Antilles)
'CW' => ['599', '00', undef], # Curacao
'AO' => ['244', '00', undef], # Angola
'AQ' => ['672', undef, undef], # Antarctica
'AR' => [ '54', '00', '0'], # Argentina
'AS' => [ '1', '011', '1'], # American Samoa
'AT' => [ '43', '00', '0'], # Austria
'AU' => [ '61', '00', undef], # Australia
'AU' => [ '61', '0011', '0'], # Australia
'AW' => ['297', '00', undef], # Aruba
'AZ' => ['994', '00', '8'], # Azerbaijan
'AZ' => ['994', '00', '0'], # Azerbaijan
'BA' => ['387', '00', '0'], # Bosnia and Herzegovina
'BB' => [ '1', '011', '1'], # Barbados
'BD' => ['880', '00', '0'], # Bangladesh
Expand All @@ -202,25 +202,25 @@ $VERSION = '1.5';
'BH' => ['973', '00', undef], # Bahrain
'BI' => ['257', '00', undef], # Burundi
'BJ' => ['229', '00', undef], # Benin
'BL' => ['590', '00', undef], # Saint Barthélemy
'BL' => ['590', '00', '0'], # Saint Barthélemy
'BM' => [ '1', '011', '1'], # Bermuda
'BN' => ['673', '00', '0'], # Brunei Darussalam
'BN' => ['673', '00', undef], # Brunei Darussalam
'BO' => ['591', '00', '0'], # Bolivia
'BR' => [ '55', '00', '0'], # Brazil
'BS' => [ '1', '011', '1'], # Bahamas
'BT' => ['975', '00', undef], # Bhutan
'BV' => [ '47', '00', undef], # Bouvet Island - Norway
'BW' => ['267', '00', undef], # Botswana
'BY' => ['375', '810', '8'], # Belarus (IDD really 8**10)
'BZ' => ['501', '00', '0'], # Belize
'BZ' => ['501', '00', undef], # Belize
'CA' => [ '1', '011', '1'], # Canada
'CC' => [ '61', '0011', '0'], # Cocos (Keeling) Islands
'CD' => ['243', '00', undef], # Congo (Dem. Rep. of / Zaire)
'CD' => ['243', '00', '0'], # Congo (Dem. Rep. of / Zaire)
'CF' => ['236', '00', undef], # Central African Republic
'CG' => ['242', '00', undef], # Congo
'CH' => [ '41', '00', '0'], # Switzerland
'CI' => ['225', '00', '0'], # Cote D'Ivoire
'CK' => ['682', '00', '00'], # Cook Islands
'CI' => ['225', '00', undef], # Cote D'Ivoire
'CK' => ['682', '00', undef], # Cook Islands
'CL' => [ '56', '00', '0'], # Chile
'CM' => ['237', '00', undef], # Cameroon
'CN' => [ '86', '00', '0'], # China
Expand All @@ -236,7 +236,7 @@ $VERSION = '1.5';
'DK' => [ '45', '00', undef], # Denmark
'DM' => [ '1', '011', 1], # Dominica
'DO' => [ '1', '011', 1], # Dominican Republic
'DZ' => ['213', '00', '7'], # Algeria
'DZ' => ['213', '00', '0'], # Algeria
'EC' => ['593', '00', '0'], # Ecuador
'EE' => ['372', '00', undef], # Estonia
'EG' => [ '20', '00', '0'], # Egypt
Expand All @@ -247,32 +247,32 @@ $VERSION = '1.5';
'FI' => ['358', '00', '0'], # Finland
'FJ' => ['679', '00', undef], # Fiji
'FK' => ['500', '00', undef], # Falkland Islands (Malvinas)
'FM' => ['691', '011', '1'], # Micronesia, Federated States of
'FM' => ['691', '00', undef], # Micronesia, Federated States of
'FO' => ['298', '00', undef], # Faroe Islands
'FR' => [ '33', '00', undef], # France
'FR' => [ '33', '00', '0'], # France
'GA' => ['241', '00', undef], # Gabonese Republic
'GB' => [ '44', '00', '0'], # United Kingdom
'GD' => [ '1', '011', '4'], # Grenada
'GD' => [ '1', '011', '1'], # Grenada
'GE' => ['995', '00', '0'], # Georgia
'GF' => ['594', '00', undef], # French Guiana
'GF' => ['594', '00', '0'], # French Guiana
'GG' => [ '44', '00', '0'], # Guernsey
'GH' => ['233', '00', undef], # Ghana
'GH' => ['233', '00', '0'], # Ghana
'GI' => ['350', '00', undef], # Gibraltar
'GL' => ['299', '00', undef], # Greenland
'GM' => ['220', '00', undef], # Gambia
'GN' => ['224', '00', '0'], # Guinea
'GP' => ['590', '00', undef], # Guadeloupe
'GN' => ['224', '00', undef], # Guinea
'GP' => ['590', '00', '0'], # Guadeloupe
'GQ' => ['240', '00', undef], # Equatorial Guinea
'GR' => [ '30', '00', undef], # Greece
'GS' => ['500', '00', undef], # South Georgia and the South Sandwich Islands
'GT' => ['502', '00', undef], # Guatemala
'GU' => [ '1', '011', '1'], # Guam
'GW' => ['245', '00', undef], # Guinea-Bissau
'GY' => ['592', '001', '0'], # Guyana
'GY' => ['592', '001', undef], # Guyana
'HK' => ['852', '001', undef], # Hong Kong
'HN' => ['504', '00', '0'], # Honduras
'HN' => ['504', '00', undef], # Honduras
'HR' => ['385', '00', '0'], # Croatia
'HT' => ['509', '00', '0'], # Haiti
'HT' => ['509', '00', undef], # Haiti
'HU' => [ '36', '00', '06'], # Hungary
'ID' => [ '62', '001', '0'], # Indonesia
'IE' => ['353', '00', '0'], # Ireland
Expand All @@ -282,126 +282,126 @@ $VERSION = '1.5';
'IO' => ['246', '00', undef], # British Indian Ocean Territory
'IQ' => ['964', '00', '0'], # Iraq
'IR' => [ '98', '00', '0'], # Iran, Islamic Republic of
'IS' => ['354', '00', '0'], # Iceland
'IS' => ['354', '00', undef], # Iceland
'IT' => [ '39', '00', undef], # Italy
'JE' => [ '44', '00', '0'], # Jersey
'JM' => [ '1', '011', '1'], # Jamaica
'JO' => ['962', '00', '0'], # Jordan
'JP' => [ '81', '001', '0'], # Japan
'JP' => [ '81', '010', '0'], # Japan
'KE' => ['254', '000', '0'], # Kenya
'KG' => ['996', '00', '0'], # Kyrgyzstan
'KH' => ['855', '001', '0'], # Cambodia
'KI' => ['686', '00', '0'], # Kiribati
'KI' => ['686', '00', undef], # Kiribati
'KM' => ['269', '00', undef], # Comoros
'KN' => [ '1', '011', '1'], # Saint Kitts and Nevis
'KP' => ['850', '00', '0'], # Korea, Democratic People's Republic of
'KR' => [ '82', '001', '0'], # Korea (South)
'KW' => ['965', '00', '0'], # Kuwait
'KW' => ['965', '00', undef], # Kuwait
'KY' => [ '1', '011', '1'], # Cayman Islands
'KZ' => [ '7', '810', '8'], # Kazakhstan (IDD really 8[pause]10)
'LA' => ['856', '00', '0'], # Laos
'LB' => ['961', '00', '0'], # Lebanon
'LC' => [ '1', '011', '1'], # Saint Lucia
'LI' => ['423', '00', undef], # Liechtenstein
'LK' => [ '94', '00', '0'], # Sri Lanka
'LR' => ['231', '00', '22'], # Liberia
'LS' => ['266', '00', '0'], # Lesotho
'LR' => ['231', '00', '0'], # Liberia
'LS' => ['266', '00', undef], # Lesotho
'LT' => ['370', '00', '8'], # Lithuania
'LU' => ['352', '00', undef], # Luxembourg
'LV' => ['371', '00', undef], # Latvia
'LY' => ['218', '00', '0'], # Libyan Arab Jamahiriya
'MA' => ['212', '00', undef], # Morocco
'MA' => ['212', '00', '0'], # Morocco
'MC' => ['377', '00', '0'], # Monaco
'MD' => ['373', '00', '0'], # Moldova, Republic of
'ME' => ['382', '99', '0'], # Montenegro
'MF' => ['590', '00', undef], # Saint Martin
'ME' => ['382', '00', '0'], # Montenegro
'MF' => ['590', '00', '0'], # Saint Martin
'MG' => ['261', '00', '0'], # Madagascar
'MH' => ['692', '011', '1'], # Marshall Islands
'MK' => ['389', '00', '0'], # Macedonia, the Former Yugoslav Republic of
'ML' => ['223', '00', '0'], # Mali
'MM' => [ '95', '00', undef], # Myanmar
'ML' => ['223', '00', undef], # Mali
'MM' => [ '95', '00', '0'], # Myanmar
'MN' => ['976', '001', '0'], # Mongolia
'MO' => ['853', '00', '0'], # Macao
'MO' => ['853', '00', undef], # Macao
'MP' => [ '1', '011', '1'], # Northern Mariana Islands
'MQ' => ['596', '00', '0'], # Martinique
'MR' => ['222', '00', '0'], # Mauritania
'MR' => ['222', '00', undef], # Mauritania
'MS' => [ '1', '011', '1'], # Montserrat
'MT' => ['356', '00', '21'], # Malta
'MU' => ['230', '00', '0'], # Mauritius
'MV' => ['960', '00', '0'], # Maldives
'MT' => ['356', '00', undef], # Malta
'MU' => ['230', '00', undef], # Mauritius
'MV' => ['960', '00', undef], # Maldives
'MW' => ['265', '00', undef], # Malawi
'MX' => [ '52', '00', '01'], # Mexico
'MY' => [ '60', '00', '0'], # Malaysia
'MZ' => ['258', '00', '0'], # Mozambique
'MZ' => ['258', '00', undef], # Mozambique
'NA' => ['264', '00', '0'], # Namibia
'NC' => ['687', '00', '0'], # New Caledonia
'NE' => ['227', '00', '0'], # Niger
'NC' => ['687', '00', undef], # New Caledonia
'NE' => ['227', '00', undef], # Niger
'NF' => ['672', '00', undef], # Norfolk Island
'NG' => ['234', '009', '0'], # Nigeria
'NI' => ['505', '00', '0'], # Nicaragua
'NI' => ['505', '00', undef], # Nicaragua
'NL' => [ '31', '00', '0'], # Netherlands
'NO' => [ '47', '00', undef], # Norway
'NP' => ['977', '00', '0'], # Nepal
'NR' => ['674', '00', '0'], # Nauru
'NU' => ['683', '00', '0'], # Niue
'NR' => ['674', '00', undef], # Nauru
'NU' => ['683', '00', undef], # Niue
'NZ' => [ '64', '00', '0'], # New Zealand
'OM' => ['968', '00', '0'], # Oman
'PA' => ['507', '00', '0'], # Panama
'OM' => ['968', '00', undef], # Oman
'PA' => ['507', '00', undef], # Panama
'PE' => [ '51', '00', '0'], # Peru
'PF' => ['689', '00', undef], # French Polynesia
'PG' => ['675', '05', undef], # Papua New Guinea
'PG' => ['675', '00', undef], # Papua New Guinea
'PH' => [ '63', '00', '0'], # Philippines
'PK' => [ '92', '00', '0'], # Pakistan
'PL' => [ '48', '00', '0'], # Poland
'PL' => [ '48', '00', undef], # Poland
'PM' => ['508', '00', '0'], # Saint Pierre and Miquelon
'PN' => ['872', undef, undef], # Pitcairn
'PR' => [ '1', '011', '1'], # Puerto Rico
'PS' => ['970', '00', '0'], # Palestinian Territory, Occupied
'PT' => ['351', '00', undef], # Portugal
'PW' => ['680', '011', undef], # Palau
'PY' => ['595', '002', '0'], # Paraguay
'QA' => ['974', '00', '0'], # Qatar
'QA' => ['974', '00', undef], # Qatar
'RE' => ['262', '00', '0'], # Reunion
'RO' => [ '40', '00', '0'], # Romania
'RS' => ['381', '99', '0'], # Serbia
'RS' => ['381', '00', '0'], # Serbia
'RU' => [ '7', '810', '8'], # Russia 8**10 NOTE: may change to 00, 0
'RW' => ['250', '00', '0'], # Rwanda
'SA' => ['966', '00', '0'], # Saudi Arabia
'SB' => ['677', '00', undef], # Solomon Islands
'SC' => ['248', '00', '0'], # Seychelles
'SC' => ['248', '00', undef], # Seychelles
'SD' => ['249', '00', '0'], # Sudan
'SE' => [ '46', '00', '0'], # Sweden
'SG' => [ '65', '001', undef], # Singapore
'SG' => [ '65', '000', undef], # Singapore
'SH' => ['290', '00', undef], # Saint Helena
'SI' => ['386', '00', '0'], # Slovenia
'SJ' => ['47', '00', '0'], # Svalbard and Jan Mayen
'SJ' => ['47', '00', undef], # Svalbard and Jan Mayen
'SK' => ['421', '00', '0'], # Slovakia
'SL' => ['232', '00', '0'], # Sierra Leone
'SM' => ['378', '00', '0'], # San Marino
'SN' => ['221', '00', '0'], # Senegal
'SM' => ['378', '00', undef], # San Marino - area code is always 0549, so '0' not a national prefix
'SN' => ['221', '00', undef], # Senegal
'SO' => ['252', '00', undef], # Somalia
'SR' => ['597', '00', undef], # Suriname
'SS' => ['211', '00', '0'], # South Sudan
'ST' => ['239', '00', '0'], # Sao Tome and Principe
'ST' => ['239', '00', undef], # Sao Tome and Principe
'SV' => ['503', '00', undef], # El Salvador
'SX' => [ '1', '011', '1'], # Sint Maarten
'SY' => ['963', '00', '0'], # Syria
'SZ' => ['268', '00', undef], # Swaziland
'TC' => [ '1', '011', '1'], # Turks and Caicos Islands
'TD' => ['235', '15', undef], # Chad
'TD' => ['235', '00', undef], # Chad
'TF' => ['596', '00', '0'], # French Southern Territories
'TG' => ['228', '00', undef], # Togo
'TH' => [ '66', '001', '0'], # Thailand
'TJ' => ['992', '810', '8'], # Tajikistan (IDD really 8**10)
'TK' => ['690', '00', undef], # Tokelau
'TL' => ['670', '00', undef], # Timor-Leste
'TM' => ['993', '810', '8'], # Turkmenistan (IDD really 8**10)
'TN' => ['216', '00', '0'], # Tunisia
'TN' => ['216', '00', undef], # Tunisia
'TO' => ['676', '00', undef], # Tonga Islands
'TR' => [ '90', '00', '0'], # Turkey
'TT' => [ '1', '011', '1'], # Trinidad and Tobago
'TV' => ['688', '00', undef], # Tuvalu
'TW' => ['886', '002', undef], # Taiwan, Province of China
'TW' => ['886', '002', '0'], # Taiwan, Province of China
'TZ' => ['255', '000', '0'], # Tanzania, United Republic of
'UA' => ['380', '00', '0'], # Ukraine
'UG' => ['256', '000', '0'], # Uganda
Expand All @@ -415,12 +415,12 @@ $VERSION = '1.5';
'VI' => [ '1', '011', '1'], # Virgin Islands, U.S.
'VN' => [ '84', '00', '0'], # Viet Nam
'VU' => ['678', '00', undef], # Vanuatu
'WF' => ['681', '19', undef], # Wallis and Futuna Islands
'WS' => ['685', '0', '0'], # Samoa (Western)
'WF' => ['681', '00', undef], # Wallis and Futuna Islands
'WS' => ['685', '0', undef], # Samoa (Western)
'YE' => ['967', '00', '0'], # Yemen
'YT' => ['262', '00', undef], # Mayotte
'ZA' => [ '27', '09', '0'], # South Africa
'YT' => ['262', '00', '0'], # Mayotte
'ZA' => [ '27', '00', '0'], # South Africa
'ZM' => ['260', '00', '0'], # Zambia
'ZW' => ['263', '110', '0'], # Zimbabwe
'ZW' => ['263', '00', '0'], # Zimbabwe
);
$Number::Phone::Country::prefix_codes{UK} = $Number::Phone::Country::prefix_codes{GB};

0 comments on commit e4df4a1

Please sign in to comment.