use Lingua::EN::MatchNames; # 85% of certainty if (name_eq("Leonardo Da Vinci", "Leonard d'Vinchi") >= 85) { print "Match\n"; }