Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 458 Bytes

A port of the GEO::StreetAddress::US Perl Library. search.cpan.org/~sderle/Geo-StreetAddress-US-0.99/US.pm

Use it

>> StreetAddress.parse(“123 Fake St. South Chicago, IL, 90210”)

> {“city”=>“Chicago”, “number”=>“123”, “zip”=>“90210”, “prefix”=>“”, “street”=>“Fake”, “type”=>“St”, “suffix”=>“S”, “state”=>“IL”}

Please feel free to do whatever you'd like with it, and if you find it useful let me know.

Cheers, Jeremy Hubert jeremyhubert.com