|
Posted by smallpond on April 11, 2008, 5:04 pm
Please log in for more thread options > Elsewhere I saw someone making an argument and using a Perl program
> to support it, one in which he calls rand() in a loop 2000000 times.
> Now, in my native C, rand() typically falls apart statistically long
> before that many iterations. Is there any guarantee in Perl on the
> randomness and/or length of the period of rand?
> "perldoc -f rand" doesn't tell.
If you don't want to use a PRNG, use Crypt::Random.
|