use File::CheckTree;
$warnings += validate( q{
/vmunix -e || die
/bin cd
csh !-ug
sh -ex
/usr -d || warn "What happened to $file?\n"
});
Available tests include all the standard Perl file-test operators
except -t, -M,
-A, and -C. Unless it dies,
validate returns the number of warnings issued.
 |  |  |
8.95. File::Basename |  | 8.97. File::Compare |