in reply to Dates difference
You don't need to do the calculation yourself, see perldoc -f -X (or perlfunc):
if (-C $file > 45) { print "$file is too old.\n"; };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Dates difference
by mikeraz (Friar) on May 24, 2005 at 17:46 UTC |
In Section
Seekers of Perl Wisdom