in reply to Reordering arrays

What you want to do is shuffle the array. Either see the Algorithm::Numerical::Shuffle module or any one of the many discussions here on perlmonks about shuffle.