NAME

Text::Same - Look for similarities between files or arrays

SYNOPSIS

use Text::Same;

my $matchmap = compare "file_1", "file_2", { ignore_whitespace => 1 };
my $matchmap = compare \@records1,  \@records2,  { ignore_simple => 3 };

DESCRIPTION

compare() compares two files or arrays of strings and returns a MatchMap object holding the results.

FUNCTIONS

compare

Title   : compare
Usage   : $matchmap = compare($options, $file1, $file2)
       or
          $matchmap = compare($options, \@array1, \@array2)
       then:
          my @all_matches = $matchmap->all_matches;
Function: return a MatchMap object holding matches and non-matches between the
          two given files or arrays of strings

AUTHOR

Kim Rutherford <kmr+same@xenu.org.uk>

COPYRIGHT & LICENSE

Copyright 2005,2006 Kim Rutherford, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.