Geography-States
view release on metacpan or search on metacpan
lib/Geography/States.pm view on Meta::CPAN
727374757677787980818283848586878889909192
#
next
if
$country
eq
'canada'
&&
$$inf
[0] eq
'PQ'
&&
$i
== 1;
$self
-> {cs} -> {
$info
-> [
$i
]} =
$inf
unless
exists
$self
-> {cs} -> {
$info
-> [
$i
]};
}
}
$self
-> {country} =
$country
;
bless
$self
=>
$class
;
}
sub
state {
my
$self
=
shift
;
unless
(
@_
) {
my
%h
;
return
grep
{!
$h
{
$_
} ++}
values
%{
$self
-> {cs}};
}
my
$query
= _norm
shift
,
$self
-> {country};
( run in 0.538 second using v1.01-cache-2.11-cpan-e9199f4ba4c )