in reply to
How do I use stat
die "Argghh" if -M $_ > 1/24/3;
If $_ holds the name of the file you want to check.
Look at perlfunc for -M, it gives you the
change time in days. See also $ARGV in perlvar.
Results (427 votes),