Do you know where your variables are? | |
PerlMonks |
Re: Testing numeric stringsby zek152 (Pilgrim) |
on Jul 20, 2011 at 20:54 UTC ( [id://915750]=note: print w/replies, xml ) | Need Help?? |
What it seems like you need is a universally unique identifier (UUID). If you are using MySQL you can use UUID() (see http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_uuid). Other databases generally provide a similar function. These are pretty much always unique numbers. They are not unpredictable but that didn't seem to be a requirement.
In Section
Seekers of Perl Wisdom
|
|