Lines Matching full:compare
1 package File::Compare 1.1008;
8 our @EXPORT = qw(compare);
18 sub compare {
19 croak("Usage: compare( file1, file2 [, buffersize]) ")
116 *cmp = \&compare;
125 # Using a negative buffer size puts compare into text_mode too
126 compare($from, $to, $cmp // -1);
135 File::Compare - Compare files or filehandles
139 use File::Compare;
141 if (compare("file1", "file2") == 0) {
147 The C<File::Compare::compare> function compares the contents of two
149 from C<File::Compare> by default.
151 C<File::Compare::cmp> is a synonym for C<File::Compare::compare>. It is
152 exported from C<File::Compare> only by request.
154 C<File::Compare::compare_text> does a line by line comparison of the two
168 C<File::Compare::compare> and its sibling functions return C<0> if the files
173 C<File::Compare> was written by Nick Ing-Simmons.