Subject: | "N CENTER ST" as in "North Center Street" |
Calls the street "N", the type as 'Ctr' and the city as 'ST WESTMINSTER'.
$ cat test
#!/usr/bin/env perl
use Geo::StreetAddress::US;
use Data::Dumper;
if(my $href = Geo::StreetAddress::US->parse_address('400 N CENTER ST WESTMINSTER MD')) {
print Data::Dumper->new([\$href])->Dump();
}
$ ./test
$VAR1 = \{
'state' => 'MD',
'street' => 'N',
'type' => 'Ctr',
'number' => '400',
'city' => 'ST WESTMINSTER'
};