US(3p)

NAME
Locale::US - two letter codes for state identification in the United States and vice versa.

SYNOPSIS
  use Locale::US;

  my $u = new Locale::US;

  my $state = $u->{code2state}{$code};
  my $code  = $u->{state2code}{$state};

  my @state = $u->all_state_names;
  my @code  = $u->all_state_codes;

ABSTRACT
Map from US two-letter codes to statees and vice versa.

DESCRIPTION

  MAPPING
$self->{code2state}

$self->{state2code}

  DUMPING
$self->all_state_names

$self->all_state_codes

KNOWN BUGS AND LIMITATIONS

•   The state name is returned in "uc()" format.

•   neither hash is strict, though they should be.

SEE ALSO
Locale::Country

http://www.usps.gov/ncsc/lookups/usps_abbreviations.htm

    Online file with the USPS two-letter codes for the United States and its possessions.

AUXILLIARY CODE:
lynx -dump http://www.usps.gov/ncsc/lookups/usps_abbreviations.htm > kruft.txt kruft2codes.pl

COPYRIGHT INFO
Copyright: Copyright (c) 2002-2007 Terrence Brannon. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

License: GPL, Artistic, available in the Debian Linux Distribution at /usr/share/common-licenses/{GPL,Artistic}

AUTHOR
T. M. Brannon, <tbone@cpan.org>

COPYRIGHT AND LICENSE
Copyright 2003 by T. M. Brannon