File::Compare(3p) Perl Programmers Reference Guide File::Compare(3p)
File::Compare(3p) Perl Programmers Reference Guide File::Compare(3p) # File::Compare(3p) Perl Programmers Reference Guide File::Compare(3p) NNAAMMEE # File::Compare - Compare files or filehandles SSYYNNOOPPSSIISS # use File::Compare; if (compare("file1","file2") == 0) { print "They're equal\n"; } DDEESSCCRRIIPPTTIIOONN # The File::Compare::compare function compares the contents of two sources, each of which can be a file or a file handle. It is exported from File::Compare by default. File::Compare::cmp is a synonym for File::Compare::compare. It is exported from File::Compare only by request. ...