![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Checking if file has been modified in last 7 days using statby friedo (Prior) |
on Mar 17, 2005 at 22:54 UTC ( #440576=note: print w/replies, xml ) | Need Help?? |
First, since you're only getting one element from stat, you might as well stick it in a scalar instead of an array. To see if a file was modified more than seven days ago, just get the current time and compare.
In Section
Seekers of Perl Wisdom
|
|