Re: ITP: liblocale-us-perl -- Module for United States state identification
A larger version of this idea exists in the iso-codes package, with
the iso-code subdivision
codes for all countries, see /usr/share/xml/iso-codes/iso_3166-2.xml
For each US state it has the 2nd-level code , so US-MI is Michigan,
Similar 2nd-level codes exist for each country, so FR-75 is the French
Department of Paris,
IE-D is Dublin, Ireland, and GB-ESX is the English county of Essex.
The iso-codes package provides translations for these lists.
Perhaps generalizing this module might be a good idea ?
On 17 Nov 2007, at 18:51, Matt Brown wrote:
On 11/17/07, Ron Johnson <email@example.com> wrote:
This Perl module provides methods allowing United States' two-letter
state identification parsing from state code to state name and vice
Is a package really needed for something this simple?
It might be obvious to a US native, but it's hardly simple or obvious
to those of us outside America.
MI is a prime example, does it refer to Michigan, Missouri,
Mississippi or Minesota? The first two letters match all four.
If you come across this every day you probably know the answer, but I
just had to look it up again (Michigan) despite being caught out by
this just the other week!
Mob +353 86 608 7117 www.mattb.net.nz
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org