NAME

Geo::Region::Constant - Constants for UN M.49 and CLDR region codes

VERSION

This document describes Geo::Region::Constant v0.07, built with Unicode CLDR v27.

SYNOPSIS

use Geo::Region::Constant qw( AFRICA AMERICAS ASIA EUROPE OCEANIA );

use Geo::Region::Constant qw( :all );

LATIN_AMERICA   # '419'
EUROPEAN_UNION  # 'EU'
JAPAN           # 'JP'

DESCRIPTION

Exportable constants for region and country codes, designed for use with Geo::Region but available for standalone use as well.

Constants

No constants are exported by default. They may be exported individually or using the export tags :region, :country, and :all.

:region

The UN M.49 region codes plus CLDR extensions EU and QO.

WORLD                   001
• AFRICA                002
  ◦ EASTERN_AFRICA      014
  ◦ MIDDLE_AFRICA       017
  ◦ NORTHERN_AFRICA     015
  ◦ SOUTHERN_AFRICA     018
  ◦ WESTERN_AFRICA      011
• AMERICAS              019
  ◦ CARIBBEAN           029
  ◦ CENTRAL_AMERICA     013
  ◦ LATIN_AMERICA       419
  ◦ NORTH_AMERICA       003
  ◦ NORTHERN_AMERICA    021
  ◦ SOUTH_AMERICA       005
• ASIA                  142
  ◦ CENTRAL_ASIA        143
  ◦ EASTERN_ASIA        030
  ◦ SOUTHEAST_ASIA      035
  ◦ SOUTHERN_ASIA       034
  ◦ WESTERN_ASIA        145
• EUROPE                150
  ◦ EASTERN_EUROPE      151
  ◦ EUROPEAN_UNION      EU
  ◦ NORTHERN_EUROPE     154
  ◦ SOUTHERN_EUROPE     039
  ◦ WESTERN_EUROPE      155
• OCEANIA               009
  ◦ AUSTRALASIA         053
  ◦ MELANESIA           054
  ◦ MICRONESIAN_REGION  057
  ◦ OUTLYING_OCEANIA    QO
  ◦ POLYNESIA           061
:country

The 249 officially assigned ISO 3166-1 alpha-2 codes.

AFGHANISTAN                           AF
ALAND_ISLANDS                         AX
ALBANIA                               AL
ALGERIA                               DZ
AMERICAN_SAMOA                        AS
ANDORRA                               AD
ANGOLA                                AO
ANGUILLA                              AI
ANTARCTICA                            AQ
ANTIGUA_BARBUDA                       AG
ARGENTINA                             AR
ARMENIA                               AM
ARUBA                                 AW
AUSTRALIA                             AU
AUSTRIA                               AT
AZERBAIJAN                            AZ
BAHAMAS                               BS
BAHRAIN                               BH
BANGLADESH                            BD
BARBADOS                              BB
BELARUS                               BY
BELGIUM                               BE
BELIZE                                BZ
BENIN                                 BJ
BERMUDA                               BM
BHUTAN                                BT
BOLIVIA                               BO
BOSNIA                                BA
BOTSWANA                              BW
BOUVET_ISLAND                         BV
BRAZIL                                BR
BRITISH_INDIAN_OCEAN_TERRITORY        IO
BRITISH_VIRGIN_ISLANDS                VG
BRUNEI                                BN
BULGARIA                              BG
BURKINA_FASO                          BF
BURUNDI                               BI
CAMBODIA                              KH
CAMEROON                              CM
CANADA                                CA
CAPE_VERDE                            CV
CARIBBEAN_NETHERLANDS                 BQ
CAYMAN_ISLANDS                        KY
CENTRAL_AFRICAN_REPUBLIC              CF
CHAD                                  TD
CHILE                                 CL
CHINA                                 CN
CHRISTMAS_ISLAND                      CX
COCOS_ISLANDS                         CC
COLOMBIA                              CO
COMOROS                               KM
CONGO_DRC                             CD
CONGO_REPUBLIC                        CG
COOK_ISLANDS                          CK
COSTA_RICA                            CR
CROATIA                               HR
CUBA                                  CU
CURACAO                               CW
CYPRUS                                CY
CZECH_REPUBLIC                        CZ
DENMARK                               DK
DJIBOUTI                              DJ
DOMINICA                              DM
DOMINICAN_REPUBLIC                    DO
EAST_TIMOR                            TL
ECUADOR                               EC
EGYPT                                 EG
EL_SALVADOR                           SV
EQUATORIAL_GUINEA                     GQ
ERITREA                               ER
ESTONIA                               EE
ETHIOPIA                              ET
FALKLAND_ISLANDS                      FK
FAROE_ISLANDS                         FO
FIJI                                  FJ
FINLAND                               FI
FRANCE                                FR
FRENCH_GUIANA                         GF
FRENCH_POLYNESIA                      PF
FRENCH_SOUTHERN_TERRITORIES           TF
GABON                                 GA
GAMBIA                                GM
GEORGIA                               GE
GERMANY                               DE
GHANA                                 GH
GIBRALTAR                             GI
GREECE                                GR
GREENLAND                             GL
GRENADA                               GD
GUADELOUPE                            GP
GUAM                                  GU
GUATEMALA                             GT
GUERNSEY                              GG
GUINEA                                GN
GUINEA_BISSAU                         GW
GUYANA                                GY
HAITI                                 HT
HEARD_MCDONALD_ISLANDS                HM
HONDURAS                              HN
HONG_KONG                             HK
HUNGARY                               HU
ICELAND                               IS
INDIA                                 IN
INDONESIA                             ID
IRAN                                  IR
IRAQ                                  IQ
IRELAND                               IE
ISLE_OF_MAN                           IM
ISRAEL                                IL
ITALY                                 IT
IVORY_COAST                           CI
JAMAICA                               JM
JAPAN                                 JP
JERSEY                                JE
JORDAN                                JO
KAZAKHSTAN                            KZ
KENYA                                 KE
KIRIBATI                              KI
KUWAIT                                KW
KYRGYZSTAN                            KG
LAOS                                  LA
LATVIA                                LV
LEBANON                               LB
LESOTHO                               LS
LIBERIA                               LR
LIBYA                                 LY
LIECHTENSTEIN                         LI
LITHUANIA                             LT
LUXEMBOURG                            LU
MACAU                                 MO
MACEDONIA                             MK
MADAGASCAR                            MG
MALAWI                                MW
MALAYSIA                              MY
MALDIVES                              MV
MALI                                  ML
MALTA                                 MT
MARSHALL_ISLANDS                      MH
MARTINIQUE                            MQ
MAURITANIA                            MR
MAURITIUS                             MU
MAYOTTE                               YT
MEXICO                                MX
MICRONESIA                            FM
MOLDOVA                               MD
MONACO                                MC
MONGOLIA                              MN
MONTENEGRO                            ME
MONTSERRAT                            MS
MOROCCO                               MA
MOZAMBIQUE                            MZ
MYANMAR                               MM
NAMIBIA                               NA
NAURU                                 NR
NEPAL                                 NP
NETHERLANDS                           NL
NEW_CALEDONIA                         NC
NEW_ZEALAND                           NZ
NICARAGUA                             NI
NIGER                                 NE
NIGERIA                               NG
NIUE                                  NU
NORFOLK_ISLAND                        NF
NORTHERN_MARIANA_ISLANDS              MP
NORTH_KOREA                           KP
NORWAY                                NO
OMAN                                  OM
PAKISTAN                              PK
PALAU                                 PW
PALESTINE                             PS
PANAMA                                PA
PAPUA_NEW_GUINEA                      PG
PARAGUAY                              PY
PERU                                  PE
PHILIPPINES                           PH
PITCAIRN_ISLANDS                      PN
POLAND                                PL
PORTUGAL                              PT
PUERTO_RICO                           PR
QATAR                                 QA
REUNION                               RE
ROMANIA                               RO
RUSSIA                                RU
RWANDA                                RW
SAMOA                                 WS
SAN_MARINO                            SM
SAO_TOME_PRINCIPE                     ST
SAUDI_ARABIA                          SA
SENEGAL                               SN
SERBIA                                RS
SEYCHELLES                            SC
SIERRA_LEONE                          SL
SINGAPORE                             SG
SINT_MAARTEN                          SX
SLOVAKIA                              SK
SLOVENIA                              SI
SOLOMON_ISLANDS                       SB
SOMALIA                               SO
SOUTH_AFRICA                          ZA
SOUTH_GEORGIA_SOUTH_SANDWICH_ISLANDS  GS
SOUTH_KOREA                           KR
SOUTH_SUDAN                           SS
SPAIN                                 ES
SRI_LANKA                             LK
ST_BARTHELEMY                         BL
ST_HELENA                             SH
ST_KITTS_NEVIS                        KN
ST_LUCIA                              LC
ST_MARTIN                             MF
ST_PIERRE_MIQUELON                    PM
ST_VINCENT_GRENADINES                 VC
SUDAN                                 SD
SURINAME                              SR
SVALBARD_JAN_MAYEN                    SJ
SWAZILAND                             SZ
SWEDEN                                SE
SWITZERLAND                           CH
SYRIA                                 SY
TAIWAN                                TW
TAJIKISTAN                            TJ
TANZANIA                              TZ
THAILAND                              TH
TOGO                                  TG
TOKELAU                               TK
TONGA                                 TO
TRINIDAD_TOBAGO                       TT
TUNISIA                               TN
TURKEY                                TR
TURKMENISTAN                          TM
TURKS_CAICOS_ISLANDS                  TC
TUVALU                                TV
UGANDA                                UG
UKRAINE                               UA
UNITED_ARAB_EMIRATES                  AE
UNITED_KINGDOM                        GB
UNITED_STATES                         US
URUGUAY                               UY
US_OUTLYING_ISLANDS                   UM
US_VIRGIN_ISLANDS                     VI
UZBEKISTAN                            UZ
VANUATU                               VU
VATICAN_CITY                          VA
VENEZUELA                             VE
VIETNAM                               VN
WALLIS_FUTUNA                         WF
WESTERN_SAHARA                        EH
YEMEN                                 YE
ZAMBIA                                ZM
ZIMBABWE                              ZW

SEE ALSO

AUTHOR

Nick Patch <patch@cpan.org>

This project is brought to you by Perl CLDR and Shutterstock. Additional open source projects from Shutterstock can be found at code.shutterstock.com.

COPYRIGHT AND LICENSE

© 2014–2015 Shutterstock, Inc.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.