File::DirCompare is a perl module for comparing two directories via callbacks, which are invoked for all files that are 'different' between the two directories, and for any files that exist only in one or other directory ('unique' files).WWW: https://metacpan.org/release/File-DirCompare