in reply to Neanderthal Boggle

Here is Fisher-Yates in one line:
@array[-$i,$j] = @array[$j,-$i] while $j = rand(@array - $i), ++$i < @ +array;


japhy -- Perl and Regex Hacker