I want to create an array, and populate it with random numbers, they should be unique and sorted (I can sort at the output). I'm stuck at the unique part: generate a random number; check if the number exists in the array, if it exists generate a new one, check again until a unique number is found. once unique add too next place in array. I think the perldocs are confusing me. Thanks. Scott.
- Re: populating an array with unique integers. Scott Taylor
- Re: populating an array with unique integers. Jeff 'japhy' Pinyan
- compiling _statically linked_ perl Pozsar Balazs
- Re: compiling _statically linked_ perl Paul Johnson
- Re: compiling _statically linked_ per... Pozsar Balazs
- Re: compiling _statically linked... Paul Johnson
- Re: populating an array with unique integers. Scott Taylor
- RE: populating an array with unique integers. Wagner-David
- RE: populating an array with unique integers. Wagner-David
- RE: populating an array with unique integers. blowther
- RE: populating an array with unique integers. Wagner-David