Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Foreign Postal Addresses

by aardvark (Pilgrim)
on Oct 10, 2001 at 04:28 UTC ( #117902=note: print w/ replies, xml ) Need Help??


in reply to Foreign Postal Addresses

Update:
chromatic was nice enough to point out the correct module in a /msg to me.

The module I was looking for is Lingua::EN::AddressParse .

I overlooked it in my search of the CPAN. Thanks for helping me out chromatic.

Get Strong Together!!


Comment on Re: Foreign Postal Addresses
Re: Re: Foreign Postal Addresses
by Elliott (Pilgrim) on Oct 10, 2001 at 19:16 UTC
    Not exactly a Perl thing, but I beg you (everyone, not just Chromatic), if you are collecting addresses online, to consider how different nationalities use words to describe different parts of an address. For example:
    • most non-Americans have no idea what a zip code is.
    • the word "city" hasa completely different meaning in the UK from in the US. (When I am asked for my "city" my response is "I don't live in a city".)
    Also don't put in validation that will exclude non-US addresses e.g.
    • zip code validation
    • state abbreviation validation
    • US phone number validation.
    Just because it can be done doesn't mean you have to do it!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://117902]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-07 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls