No such thing as a small change | |
PerlMonks |
Re(2): is rand() randomby FoxtrotUniform (Prior) |
on Jun 19, 2002 at 15:36 UTC ( [id://175727]=note: print w/replies, xml ) | Need Help?? |
More to the point, stdlib rand() functions tend to be abysmally poor at generating even remotely random numbers (for both statistical and cryptographic definitions of "random"). Math::Random and Math::TrulyRandom are both good places to look for randomness in Perl, but coding up your own PRNG isn't terribly taxing, and a lot of fun. --
In Section
Seekers of Perl Wisdom
|
|