Sorry it doesn't use Perl, but you could put something like this in your crontab
0 * * * * find yourdir -mtime +7 | xargs rm
Every hour, it deletes all files in "yourdir" that have last been modified more than seven days ago.
--bwana147
In reply to Re: File expiration date
by bwana147
in thread File expiration date
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |