drock has asked for the wisdom of the Perl Monks concerning the following question:
ok perl'ers... I want to stat a file and element 9 I am interested in. But this returns since epoch so how can I say "check to see if file was modified +7 days or 60*60*24*7?
thanks,
derek
snip.... my @info = (stat ($tapes))[9]; print "@info\n";
Edit by BazB: change title from "stat [9]".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Checking if file has been modified in last 7 days using stat [9]
by Tanktalus (Canon) on Mar 17, 2005 at 23:47 UTC | |
Re: Checking if file has been modified in last 7 days using stat
by BazB (Priest) on Mar 17, 2005 at 22:51 UTC | |
Re: Checking if file has been modified in last 7 days using stat
by friedo (Prior) on Mar 17, 2005 at 22:54 UTC |
Back to
Seekers of Perl Wisdom