Random Numbers in Perl

Jason jkenner@mindspring.com
Mon, 23 Oct 2000 17:50:00 -0700


George Gambill wrote:
> Some systems suggest using the rand() function with a negative seed causing
> the system to get the seed from the computer clock.  Then they recommend
> subsequent rand() function calls without a seed.  You may want to play with
> this.  I have always considered it good enough.  YMMV

Well, I did stick the recommended call to srand in the sample code...



-- 
jkenner @ mindspring . com__
I Support Linux:           _> _  _ |_  _  _     _|
Working Together To       <__(_||_)| )| `(_|(_)(_|
To Build A Better Future.       |                   <s>