MDiff(3)

NAME
MDiff - Perl extension for m-differece detection.

SYNOPSIS
  use Algorithm::MDiff;

DESCRIPTION
m-difference is a comparason I designed myself--with the help of the monks at http://www.perlmonks.org. I'm sure the idea has been around, but _I_ decided to call it m-difference. :)

Two strings are m-different if at least m of the characters in the strings differ; that is, if m=3, then there are at least 3 indicies (i, j, k) such that str1[i] != str2[i], str1[j] != str2[j] and str1[k] != str2[k].

EXPORTED FUNCTION
  is_mdiff($m, $str1, $str2);  # returns a 0 or a 1

AUTHOR
Jettero Heller <jettero@voltar.org>

SEE ALSO
perl(1).