Tim Bowden wrote:
I'm writing a small cgi app that takes an uploaded file, stores it on
disk and does some operations to it.  To avoid multiple instances
clobbering each other, I think I need to find a unique key to use in
creating a dir specifically for use by that instance.  Can anyone point
me in the right direction here?

Check out the CPAN module CGI::UploadEasy. It automatically renames uploaded files if needed to prevent that existing files get overwritten.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to