
The test::files module is meant to ease testing with files and directories, e.g. to compare the contents of a file to a string, compare the contents of two files, check a directory for the presence of a list of files, compare all text files in two directories reporting any differences, etc.