Help for this page

Select Code to Download


  1. or download this
    my @set1 = qw(A B C D);
    my @set2 = qw(X Y Z);
    mk_tuples(@set1, 2);
    mk_tuples(@set2, 5);
    
  2. or download this
    mk_tuples(["A", "B"], 3);