I would like to generates simply (without for loops) the all permutation strings (5 x 9 x 2 x 6 options)@a1 = qw(0 1 2 3 4); @a2 = qw(0 1 2 3 4 5 6 7 8); @a3 = qw(0 1); @a4 = qw(0 1 2 3 4 5);
Any simple solution ? Thanks azaria$str = $a1[$i] . " " . $a2[$j] . " ". $a3[$k]. " " . $a4[$l]
In reply to array combinations by azaria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |