Name: diff Description: compute 'intelligent' differences between two files Author: Mark-Jason Dominus, mjd-perl-diff@plover.com Author: Christian Murphy, cpm@muc.de Author: Amir D. Karger, karger@bead.aecom.yu.edu License: perl
NAME
Algorithm::Diff - Compute `intelligent' differences between two files / lists
SYNOPSIS
use Algorithm::Diff qw(diff LCS traverse_sequences);
@lcs = LCS(\@seq1, \@seq2, $comparison_function);
@diffs = diff(\@seq1, \@seq2, $comparison_function);
traverse_sequences(\@seq1, \@seq2,
{ MATCH => $callback,
DISCARD_A => $callback,
DISCARD_B => $callback,
},
$comparison_function);
AUTHOR
Mark-Jason Dominus, mjd-perl-diff@plover.com.
Visit my diff/LCS web page at http://www.plover.com/~mjd/perl/diff/.