Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    ...
    );
    
    my @AoA2 = NestedLoops(\@AoA1, sub { [ @_ ] } );
    
  2. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    ...
    while (@list = $iter->()) {
       push @AoA2, [ @list ];
    }