You need the full path to the file. If you checked for the error with -M $fileName || die "Can't stat $fileName, Perl say $!\n" it would say No such file or directory You can check errors in $! for all sorts or perl functions open, mkdir, unlink and -X are just a few where it may (or may not) be useful.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Using -M to test age of file
by tachyon
in thread Using -M to test age of file
by bwelch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |