random - display lines at random, or exit with a random value
random [-er] [denominator]
random reads line from standard input, and displays each line on standard output which chance 1 / denominator. If the -e option is given, random exits with a value randomly choosen from 0 to denominator - 1 inclusive. If no denominator is given, 2 is used.
denominator - 1
random accepts the following options:
Exit with a value randomly choosen from 0 to denominator - 1 inclusive. Do not read input, or display output.
Use unbuffered output.
The working of random is not influenced by any environment variables.
There are no known bugs in random.
The Perl implementation of random was written by Abigail, firstname.lastname@example.org.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.