http://www.perlmonks.org?node_id=289519

shadox has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I am doing a script to change some values from one database table to another.
My problem is this:

The values that i have to move are _valid_ USA States that people put in the database ( they wrote it from a web page ), but i need to check if the state is valid, a state is valid if it was write correctly, for example
New York or NY

So far i have everything done, but i want to make text match with similar text, so if i have
Ner Yorh, i need it to match with New York, so my question is if there is some module to match _similar text_, something like google does when you put something wrong and it says 'Did you mean: .......'.
Anyone knows a module or something to do this.

___________________________________________
Optimus magister, bonus liber