Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: unique file ID

by ruzam (Curate)
on Apr 30, 2013 at 14:39 UTC ( #1031417=note: print w/replies, xml ) Need Help??


in reply to unique file ID

my $file_name = time() . "_$$";

Time will be unique to the second and the $$ (the PID) will be unique to each executing script.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031417]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2017-09-25 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (276 votes). Check out past polls.

    Notices?