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.

  • Comment on Does Data::UUID support V4, random UUIDs?

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