in reply to similarity % strings

String::Approx lets you match strings with a configurable percentage of approximateness (assuming that is what you want to do).