use 5.010; sub mix {@_ ? map {my $x = $_; map "$x$_", mix(@_[1..$#_])} @{$_[0]} : + ""} say for mix @array;
In reply to Re: Generating all possible combinations from an AoA
by JavaFan
in thread Generating all possible combinations from an AoA
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |