NAME

Geography::States::Borders - Return the borders of states and provinces

VERSION

version 0.0100

SYNOPSIS

use Geography::States::Borders ();
my $geo = Geography::States::Borders->new(country => 'usa');
my $states = $geo->borders('HI'); # empty list
$states = $geo->borders('OR');    # CA ID NV WA

DESCRIPTION

Geography::States::Borders returns the borders of states and provinces.

* Currently the only recognized countries are ...the usa.

ATTRIBUTES

country

$country = $geo->country;

Set the country.

verbose

$verbose = $geo->verbose;

Show progress.

METHODS

new

$geo = Geography::States::Borders->new(country => $country);

Create a new Geography::States::Borders object.

borders

@states = $geo->borders($state_code);

Return the bordering states of the given state code.

SEE ALSO

Moo

AUTHOR

Gene Boggs <gene@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Gene Boggs.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)