From: Larry Shatzer Date: Thu, 10 May 2001 11:09:27 +0000 (-0700) Subject: RE: rand(0) is rand(1) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a720b353949d1d880c51dfd935b0b0118e0dd40e;p=p5sagit%2Fp5-mst-13.2.git RE: rand(0) is rand(1) Message-ID: <95CD90709D74D4118F4600D0B79E8BC9995027@mail.islanddata.com> p4raw-id: //depot/perl@10077 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1feb80a..a38b9ba 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3532,8 +3532,8 @@ If EXPR is omitted, uses C<$_>. Returns a random fractional number greater than or equal to C<0> and less than the value of EXPR. (EXPR should be positive.) If EXPR is -omitted, the value C<1> is used. Automatically calls C unless -C has already been called. See also C. +omitted, or a C<0>, the value C<1> is used. Automatically calls C +unless C has already been called. See also C. Apply C to the value returned by C if you want random integers instead of random fractional numbers. For example,