Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Date in filename

by alfie (Pilgrim)
on Jul 25, 2001 at 17:19 UTC ( [id://99659]=note: print w/replies, xml ) Need Help??


in reply to Re: Date in filename
in thread Date in filename

If you are really searching for a uniqe filename, you should quite propably add $$ (the process-ID) to it, to be on the save side. So you can have multiple programs running at the same time that do not interfere:
$file = time()."-$$.tmp";
HTH!
--
use signature; signature(" So long\nAlfie");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://99659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found