Compare files, byte-by-byte
Switch branches/tags
Nothing to show
Latest commit 53f2f61 Apr 29, 2017 @labster committed on GitHub Merge pull request #8 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json


Compare files, byte-by-byte

Determines if two files are alike or if they differ.


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 for more details.