File::Compare
Compares the contents of two sources, each of which can be a
file or a filehandle. Returns 0
if the sources are equal, 1
if they
are unequal, and -1
on error. File::Compare provides two functions:
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.