1 2
The Test-File perl distribution provides convenience test functions to check file attributes and data in a Test::More fashion.