Re: ITP: liblocale-us-perl -- Module for United States state identification

2009-08-22 Thread Alastair McKinstry
Hi, 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, for example. Similar 2nd-level codes exist for each

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-18 Thread Alastair McKinstry
Two data points for the discussion: (1) The data, and more useful data, is available in iso-codes. The iso-codes-3166-2 list contains the subdivision lists for not just the US but all countries. (In the US, its states, in the Ireland counties, German Lander, etc.), and their translations.

[OT] Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-18 Thread brian m. carlson
On Sun, Nov 18, 2007 at 04:26:55AM +, Ron Johnson wrote: The USPS doesn't care about entry into the union. It cares about collating and routing. This is true. Until sometime in the twentieth century, states were addressed with more verbose abbreviations (Tex. or Penn., for example), so

ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Ernesto Hernandez-Novich
Package: wnpp * Package name: liblocale-us-perl Version: 1.02 Upstream Author: T. M. Brannon [EMAIL PROTECTED] * URL: http://search.cpan.org/dist/Locale-US/ * License: GPL or Perl Artistic Description: This Perl module provides methods allowing United States' two-letter state identification

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/07 09:56, Ernesto Hernandez-Novich wrote: Package: wnpp * Package name: liblocale-us-perl Version: 1.02 Upstream Author: T. M. Brannon [EMAIL PROTECTED] * URL: http://search.cpan.org/dist/Locale-US/ * License: GPL or Perl Artistic

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Matt Brown
On 11/17/07, Ron Johnson [EMAIL PROTECTED] wrote: This Perl module provides methods allowing United States' two-letter state identification parsing from state code to state name and vice versa. Is a package really needed for something this simple? It might be obvious to a US native, but

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/07 18:51, Matt Brown wrote: On 11/17/07, Ron Johnson [EMAIL PROTECTED] wrote: This Perl module provides methods allowing United States' two-letter state identification parsing from state code to state name and vice versa. Is a package

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Roberto C . Sánchez
On Sat, Nov 17, 2007 at 06:51:03PM +, Matt Brown wrote: On 11/17/07, Ron Johnson [EMAIL PROTECTED] wrote: This Perl module provides methods allowing United States' two-letter state identification parsing from state code to state name and vice versa. Is a package really needed for

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Darren Salt
I demand that Ron Johnson may or may not have written... [snip] What would be much more useful (still simple, but with much more data) is a world-wide hash table of countries and states/provinces. Are you equating states with provinces there? If so, think again... :-) [snip] -- | Darren Salt

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/07 20:33, Roberto C. Sánchez wrote: On Sat, Nov 17, 2007 at 06:51:03PM +, Matt Brown wrote: On 11/17/07, Ron Johnson [EMAIL PROTECTED] wrote: This Perl module provides methods allowing United States' two-letter state identification

Re: ITP: liblocale-us-perl -- Module for United States state identification

2007-11-17 Thread Roberto C . Sánchez
On Sun, Nov 18, 2007 at 04:26:55AM +, Ron Johnson wrote: On 11/17/07 20:33, Roberto C. S�nchez wrote: That got me thinking. I figure that since MI - Michigan, it meant that MI was the first state to start with those letters. Logically, I would think, always use the first two