You may want to have a look at Tie::Hash::Approx and Tie::Hash::Regex. I'm not sure whether the latter is faster than a manual loop, but it might be worth a try.

Hope this helps, -gjb-


In reply to Re: text string approxiamtions (concept for review) by gjb
in thread text string approxiamtions (concept for review) by shemp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":