NAME
Text::Same - Look for similarities between files or arrays
SYNOPSIS
use Text::Same;
my @matches = compare "file1.txt", "file2.txt", { ignore_whitespace => 1 };
my @matches = 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 : $results = $chunk->compare($options, $file1, $file2)
or
$results = $chunk->compare($options, \@array1, \@array2)
@all_matches = $results->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.