Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Random numbers generator

by mirod (Canon)
on Feb 07, 2001 at 19:41 UTC ( #56974=note: print w/ replies, xml ) Need Help??


in reply to Re: Random numbers generator
in thread Random numbers generator

It is just going to be a lot more difficult to ensure that if you run it on different machines it returns different results ;--)

Maybe putting the result in an LWP accessible place, retrieving them and doing:

my $random = int rand 10 while (($random != $previous_result1) && ($ra +ndom != $previous_result2)); print LWP_ACCESSIBLE $random;

Or maybe the problem was not exactly properly stated...


Comment on Re: Re: Random numbers generator
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56974]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-07-05 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls