Welcome to the Monastery | |
PerlMonks |
Re: Check randomly generated numbers have not been used beforeby toolic (Bishop) |
on Jun 20, 2014 at 13:39 UTC ( [id://1090634]=note: print w/replies, xml ) | Need Help?? |
You can read all the numbers from your file and store them into a hash. Then, you can check if a random number exists in your hash. If you show us the format of your file, we can provide further guidance.
In Section
Seekers of Perl Wisdom
|
|