http://qs321.pair.com?node_id=31105

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

Hi Fellow Monks

I have a problem where I have two lists of strings, I need to find the best match for each string in the first list with a string from the second list. I hope that makes sense.

I have tried using String::Approx 'amatch' but this returns all of the best matches, I need to receive only the best match.

Does anyone know of another module or method I can use, or should I be hacking amatch apart :).
Hope someone can help

Regards, Orthanc