in reply to comparing strings - better than soundex

If you want to compare two words for its sound similarity, better algorithms than Soundex are:

Text::Metaphone and Text::DoubleMetaphone.

If you want string comparison (i.e. to order the results after a multiple match done by the above) you can try:

Text::Levenshtein or Text::WagnerFischer

If you want to compare entire phrases you can try also Text::PhraseDistance