File::Compare

Compares the contents of two sources, each of which can be a file or a filehandle. Returns if the sources are equal, if they are unequal, and -1 on error. File::Compare provides two functions: