in reply to Re: How to not print the same random number
in thread How to not print the same random number

I like the "may" part. Did you calculate the actual odds?
  • Comment on Re^2: How to not print the same random number

Replies are listed 'Best First'.
Re^3: How to not print the same random number
by GrandFather (Saint) on Mar 05, 2006 at 09:41 UTC

    Statistics is not my strong suit. I ran a test version a few times and noticed that about 23-25 itterations sufficed often enough and guessed that 100 would seldom dissapoint. Glad you noticed the "may". :)


    DWIM is Perl's answer to Gödel