XP is just a number | |
PerlMonks |
Re: Using -M to test age of fileby tachyon (Chancellor) |
on Aug 22, 2003 at 15:23 UTC ( [id://285811]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|