Math::Random is a Perl port of the C version of randlib, which is a suite of routines for generating random deviates. WWW: http://search.cpan.org/dist/Math-Random/