in reply to File expiration date
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
|
|---|