Compare files, byte-by-byte
Perl6
Switch branches/tags
Nothing to show
Latest commit 5cad883 Oct 27, 2016 @labster committed on GitHub Merge pull request #5 from zoffixznet/patch-1
Add mandatory "perl" META field

README.md

perl6-File-Compare

Compare files, byte-by-byte

Determines if two files are alike or if they differ.

Usage:

use File::Compare;

say files_are_equal("file1.txt", "file2.txt");
files_are_different("foo", "bar") ?? say "diff" !! say "same";

say "we match" if files_are_equal("x.png", "y.png",
	chunk_size=> 4*1024*1024);

See the pod in Compare.pm for more details.