Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Testing numeric strings

by zek152 (Pilgrim)
on Jul 20, 2011 at 20:54 UTC ( [id://915750]=note: print w/replies, xml ) Need Help??


in reply to Testing numeric strings

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://915750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-19 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found