Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    ...
    while (my @vals = $i->()) {
       print(join(' ', @vals), "\n");
    }
    
  2. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    ...
       my @vals = map { $arr[$_][$idx[$_]] } 0..$#idx;
       print('(', join(',', @idx), ') --> ', join(' ', @vals), "\n");
    }