Binary package “libtest-file-contents-perl” in ubuntu eoan

Perl module for testing the contents of files

 Test::File::Contents provides a set of routines useful to construct
 tests that examine the content of files.
 .
 It can check for an exact match and for a regexp match against the file's
 contents, but also if the file's contents do not match a string or a
 regexp and whether a file matches or not a given md5sum.