BSD Ports

misc/p5-Locale-SubCountry 2.07 DragonFly

Convert state, province, county etc. names to/from code

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
misc, perl5
Package size
61.8 KiB, 554.7 KiB installed

Description

This module allows you to convert the full name for a countries administrative region to the code commonly used for postal addressing. The reverse lookup can also be done. Sub country codes are defined in "ISO 3166-2:1998, Codes for the representation of names of countries and their subdivisions".

Sub countries are termed as states in the US and Australia, provinces in Canada and counties in the UK and Ireland.

Additionally, names and codes for all sub countries in a country can be returned as either a hash or an array.

In the other systems

SystemPortVersion
DragonFlymisc/p5-Locale-SubCountry2.07
FreeBSDmisc/p5-Locale-SubCountry2.07
HardenedBSDmisc/p5-Locale-SubCountry2.07
GhostBSDmisc/p5-Locale-SubCountry2.07

Install

Binary package:

pkg install p5-Locale-SubCountry

From DPorts:

cd /usr/dports/misc/p5-Locale-SubCountry && make install clean

Dependencies

Run dependencies 2