The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Postal::US::State - State names and codes

SYNOPSIS

  use Postal::US::State;

  my $code = Postal::US::State->code('Texas');
  my $state = Postal::US::State->state('TX');

About

State names/codes data are built-in to this module (generated from http://www.usps.com/ncsc/lookups/abbr_state.txt by the build process).

code

Retrieve the two-letter code for the given state name (case insensitive.) Returns undefined if the state is unknown.

  my $code = Postal::US::State->code('Texas');

state

Returns the state name for the given code.

  my $state = Postal::US::State->state('TX');

AUTHOR

Eric Wilhelm @ <ewilhelm at cpan dot org>

http://scratchcomputing.com/

BUGS

If you found this module on CPAN, please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

If you pulled this development version from my /svn/, please contact me directly.

COPYRIGHT

Copyright (C) 2010 Eric L. Wilhelm, All Rights Reserved.

NO WARRANTY

Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.

LICENSE