Casey West > ppt-0.14 > Algorithm::Diff

Download:
ppt-0.14.tar.gz

Annotate this POD

Related Modules

Data::Dumper
File::Find
Text::CSV_XS
Digest::MD5
String::Approx
File::Compare
Archive::Zip
List::Util
Test::More
Array::Compare
more...
By perlmonks.org

CPAN RT

New  2
Open  2
View/Report Bugs
Source  

NAME ^

Algorithm::Diff - Compute `intelligent' differences between two files / lists

SYNOPSIS ^

  use Algorithm::Diff qw(diff LCS trverse_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/.

syntax highlighting: