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...
|
---|
In Section
Seekers of Perl Wisdom