use List::Util 'shuffle'; @array = shuffle @array; [download]
-sam
In reply to Re: Re: random index in array - no duplicates by samtregar in thread random index in array - no duplicates by emilford