Binary package “liblocale-subcountry-perl” in ubuntu bionic

module for converting state/province names to/from code

 Locale::SubCountry is a collection of Perl modules for converting the full
 name for a countries' administrative region to the code commonly used for
 postal addressing and vice versa. The codes are defined in ISO 3166-2:1998,
 "Codes for the representation of names of countries and their subdivisions."
 .
 Subcountry regions are defined as states in the US and Australia, provinces
 in Canada and counties in the UK. The names and codes for all subcountry
 regions in a country can be returned either as a hash or array.