Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    NestedLoops(\@list,
       sub { print(join(',', @_), "\n"); },
    );
    
  2. or download this
    use Algorithm::Loops qw( NestedLoops );
    
    ...
    while (my @set = $i->()) {
       print(join(',', @set), "\n");
    }