You want to generate numbers that are more random than Perl's random numbers. Limitations of your C library's random number generator seeds will sometimes cause problems. The sequence of pseudo-random numbers may repeat too soon for some applications.
use Math::TrulyRandom; $random = truly_random_value(); use Math::Random; $random = random_uniform();
Perl uses the standard C library routine
(3) to generate pseudo-random numbers. (This can be changed at build time, however.) Some implementations of the
The Math::TrulyRandom module uses the inadequacies of your system's timers to generate the random numbers. This takes a while, so it isn't useful for generating a lot of random numbers.
The Math::Random module uses the