|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Is there a better way to generate unique set of random numbers ?by chakreey (Acolyte) |
| on Jul 28, 2011 at 09:35 UTC ( [id://917225]=perlquestion: print w/replies, xml ) | Need Help?? |
|
chakreey has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, I am trying to generate set of unique random numbers. Here is my script for doing this
for every new random number generated, I am finding out if it is unique or a repeat. Is there a better/faster way to achieve this ? TIA
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||