in reply to Clear out old files in a directory
system("echo 'deleted file' >& /tmp/delete"); [download]
-- Randal L. Schwartz, Perl hacker