Help for this page

Select Code to Download


  1. or download this
    my @tmp = ( \@arr1, \@arr2, \@arr3 );
    
  2. or download this
    my @all;
    foreach my $x (0 .. $#tmp){
    ...
    # or do:
    my @all = ( \@arr1, \@arr2, \@arr3 );
    and then in-place swap (i,j) with (j,i) ..  but this will modify the o
    +riginal @arrX arrays.