- or download this
use Text::Levenshtein qw(fastdistance distance);
print fastdistance("history","hustory"), "\n";
# prints "2"
- or download this
print fastdistance("gistory","history"), "\n";
# prints "1"
- or download this
print distance("gistory","history"), "\n";
# prints "1234561234561"