"be consistent" | |
PerlMonks |
Re: How do I use statby jeroenes (Priest) |
on Sep 27, 2001 at 20:55 UTC ( [id://115159]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|