Problems? Is your data what you think it is? | |
PerlMonks |
Unique stampby schwern (Scribe) |
on Aug 13, 2005 at 02:19 UTC ( [id://483481]=note: print w/replies, xml ) | Need Help?? |
Process ID + timestamp + a counter.
The PID makes it unique between processes. The time makes it unique in case of PID rollover. The counter makes it unique when the same process issues two stamps inside the granularity of the timer. It also makes the granularity of the time not so important.
In Section
Seekers of Perl Wisdom
|
|