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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-06-25 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.