A random number generator
(c) 2011 Traian Nedelea
This is a random number generator I wrote to use in statistical analysis tools. I found the digits in A Million Random Digits to have a different distribution than what I needed, so I wrote my own.
- Generates 1 million random numbers
- Outputs to
STDOUT
- Simple command-line interface - no arguments to remember or regexes to write!
- Loops
- Compatible with most locales
perl gen.pl
- If you try to run this on a computer with < 1MB of RAM, it will probably croak.
- Does not respect all environment variables, most notably,
$DISPLAY
.