in reply to Why do I need to shuffle an array by reference?

That's an old version of the FAQ you have. The silly line next if $i == $j; isn't included in modern versions of the FAQ.

And as others have already indicated, you don't need references. Could you have an example @list that fails for you?

Abigail