|more useful options|
Generate a unique IDby BrowserUk (Pope)
|on Nov 15, 2010 at 09:06 UTC||Need Help??|
BrowserUk has asked for the
wisdom of the Perl Monks concerning the following question:
I'm looking to generate a unique ID for a given run of a program, that will distinguish it from any other--previous, subsequent or concurrent--run of that program on that same system.
I'm seeking to avoid semi-random algorithms like GUID/UUID and similar.
I'm not concerned with trying to detect deliberate attempts to fake out the mechanism.
I'm thinking to combine: process id with current date-time to the highest resoltion available. Is that enough?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.