Mike Eldridge

NAME

Locale::Geocode::Division

DESCRIPTION

Locale::Geocode::Division provides methods for accessing information regarding administrative divisions within territories as defined by ISO-3166-2.

SYNOPSIS

 my $lct    = new Locale::Geocode::Division 'US';

 # lookup a subdivision of US
 my $lcd    = $lct->lookup('TN');

 # retrieve ISO-3166-2 information for US-TN
 my $name   = $lcd->name;   # Tennessee
 my $code   = $lcd->code;   # TN

 # returns an array of Locale::Geocode::Division
 # objects representing all divisions of US
 my @divs   = $lct->divisions;

METHODS

new
name
code
fips
region
parent
has_notes
num_notes
notes
note

AUTHOR

 Mike Eldridge <diz@cpan.org>

CREDITS

 Kim Ryan

SEE ALSO

 L<Locale::Geocode>
 L<Locale::Geocode::Territory>