Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Generate a unique ID

by Corion (Pope)
on Nov 15, 2010 at 09:11 UTC ( #871419=note: print w/replies, xml ) Need Help??


in reply to Generate a unique ID

I also include the program name (from $0) and the hostname, just in case I decide later on to spread out the program to multiple machines. In my case, I write to logfiles, and it is necessary to see on what machine a program was launched, and which program (or under which name).

Other than these two items, no other attributes come to mind.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871419]
help
Chatterbox?
[shmem]: erm. wrong link. wrong link!
[shmem]: que descanses bien, aprendiz
[Discipulus]: bravo!

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-04-29 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.