Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Non-Repetitive Random Numbers

by pemungkah (Priest)
on Apr 06, 2013 at 10:22 UTC ( #1027275=note: print w/replies, xml ) Need Help??

in reply to Non-Repetitive Random Numbers

This survey of pseudorandom number generators has recommendations. There are many with a wide range of characteristics.

If you need a nice uniform distribution, the Mersenne Twister implementation provided by Math-Random-MT-Perl-1.1 should work. As the notes say, "The algorithm is characterised by a very uniform distribution but is not cryptographically secure."