FFRANK has asked for the wisdom of the Perl Monks concerning the following question:
Given:
Put combinations into AoA2:my @AoA1 = (['a','b','c'], ['d','e',''], ['f','g',''], ['h','','']);
and so on...@row1 = qw(a d f h); @row2 = qw(b d f h); @row2 = qw(c d f h); @row2 = qw(a e f h);
Thanks, regards.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 2D array ALL combinations
by ikegami (Patriarch) on Jun 13, 2007 at 17:30 UTC | |
by Anonymous Monk on Jun 13, 2007 at 18:01 UTC | |
by ikegami (Patriarch) on Jun 13, 2007 at 20:15 UTC | |
|
Re: 2D array ALL combinations
by kyle (Abbot) on Jun 13, 2007 at 17:56 UTC | |
|
Re: 2D array ALL combinations
by GrandFather (Saint) on Jun 13, 2007 at 21:11 UTC |