Sprad has asked for the wisdom of the Perl Monks concerning the following question:
* The files need unique names
* The files shouldn't stick around any longer than necessary
I have a session ID, so I can base a reasonably unique filename off of that. But the file expiration has me going in circles. Is there a better way than simply dumping them all in a temp directory and setting a cron job to sweep the old ones?
A fair fight is a sign of poor planning.