Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
perlfunc:randby gods (Initiate) |
on Aug 24, 1999 at 22:42 UTC ( [id://258]=perlfunc: print w/replies, xml ) | Need Help?? |
randSee the current Perl documentation for rand. Here is our local, out-dated (pre-5.6) version: rand - retrieve the next pseudorandom number
rand EXPR rand
Returns a random fractional number greater than or equal to (Note: If your rand function consistently returns numbers that are too large or too small, then your version of Perl was probably compiled with the wrong number of RANDBITS.) |
|