Casey West > ppt-0.14 > random

Download:
ppt-0.14.tar.gz

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source  

NAME ^

random -- display lines at random, or exit with a random value.

SYNOPSIS ^

random [-er] [denominator]

DESCRIPTION ^

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.

OPTIONS

random accepts the following options:

-e

Exit with a value randomly choosen from 0 to denominator - 1 inclusive. Do not read input, or display output.

-r

Use unbuffered output.

ENVIRONMENT ^

The working of random is not influenced by any environment variables.

BUGS ^

There are no known bugs in random.

REVISION HISTORY ^

    $Log: random,v $
    Revision 1.2  2004/08/05 14:17:43  cwest
    cleanup, new version number on website

    Revision 1.1  2004/07/23 20:10:15  cwest
    initial import

    Revision 1.1  1999/02/28 22:10:55  abigail
    Initial revision

AUTHOR ^

The Perl implementation of random was written by Abigail, abigail@fnx.com.

COPYRIGHT and LICENSE ^

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.

syntax highlighting: