in reply to Automatically Deleting Files Periodically
well the best way i think , is using stat function
# this will return last access time in seconds and you can compare tim +e then my $last_access = (stat($filename))[8]; [download]
HTH