7.2.28 File::CheckTree - Run Many Tests on a Collection of Files
use File::CheckTree;
$warnings += validate( q{
/vmunix -e || die
/boot -e || die
/bin cd
csh -ex
csh !-ug
sh -ex
sh !-ug
/usr -d || warn "What happened to $file?\n"
});
The || warn
You can reverse the sense of the test by prepending "!". If you specify
"
File tests may be grouped:
|
|