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"; };
In reply to Re: Dates difference
by Corion
in thread Dates difference
by gl2103
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |