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 reply to Re: Re: Random numbers generator
by mirod
in thread Random numbers generator
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |