Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 studying the Monastery: (4)
As of 2016-08-27 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (380 votes). Check out past polls.