use List::Util; @shuffled = List::Util::shuffle(1..100000); [download]
In reply to Re: Non-Repetitive Random Numbers by FloydATC in thread Non-Repetitive Random Numbers by Anonymous Monk