ashisht has asked for the wisdom of the Perl Monks concerning the following question:
I came across this node for generation of temporary files, but I was wondering if another safe way to generate unique temporary files for CGI scripts would be to try to use the user's host name and process id to name the file.
Is there a way to obtain either the process id or the hostname through a Perl-CGI script? I would also appreciate any advice on whether the idea is workable.
Thanks,
Ashish.
Edit by castaway - swapped a-tag-pm-link for id://
|
|---|