Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Does Data::UUID support V4, random UUIDs?

by Pickwick (Beadle)
on Aug 13, 2010 at 14:45 UTC ( [id://854918]=perlquestion: print w/replies, xml ) Need Help??

Pickwick has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I wanted to automatically generate usernames for one purpose and thought of just using a V4 randomly generated UUID. I found Data::UUID but can't find which UUID generation versions are supported. I think it's 1 and at least 3 or 5, but I can't find any info except the notice of RFC 4122.

Is there any way to generate V4 UUIDs with Data::UUID? If not, are there any other packages which use V4 and support the RFC and are not deprecated and work on Windows with ActiveState and Linux? ;-)

Thanks for your help.

Replies are listed 'Best First'.
Re: Does Data::UUID support V4, random UUIDs?
by BrowserUk (Patriarch) on Aug 13, 2010 at 15:08 UTC
Re: Does Data::UUID support V4, random UUIDs?
by Pickwick (Beadle) on Aug 13, 2010 at 15:37 UTC

Log In?
Username:
Password:

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

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

    No recent polls found