On 3/16/07, Chas Owens <[EMAIL PROTECTED]> wrote:
snip
If you need a better pseudo-random number than rand can provide and
you are using Linux (or possibly other unix like operating systems)
you can read from /dev/urandom
snip

I should have hit CPAN first.  The Crypt::Random* module provides a
better interface to /dev/random and /dev/urandom.  It also has the
ability to generate good random numbers on systems that don't have
them.

* http://search.cpan.org/~vipul/Crypt-Random-1.25/lib/Crypt/Random.pm

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to