in reply to Re: Generating all possible combinations from an AoA
in thread Generating all possible combinations from an AoA
@results = (''); foreach my $subarray (@array) { @results = map {my $res = $_; map $res.$_, @$subarray } @results; } print join "\n", @results,'';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Generating all possible combinations from an AoA
by Zarabozo (Sexton) on Sep 22, 2013 at 05:55 UTC |