Help for this page

Select Code to Download


  1. or download this
    perl -e 'use List::Util qw(shuffle); @a=[1,2,3,4,5,6,7,8,9,10]; foreac
    +h (1..24) { print join(",",@ { shuffle(@a) })."\n"}'
    
  2. or download this
    sub shuffle (@) {
      my @a=\(@_);
    ...
        (${$a[$n]}, $a[$n] = $a[$i])[0];
      } @_;
    }