in reply to
Generating all possible combinations from an AoA
When you have an indeterminate level of nesting, it is good to think about recursive solutions (as in JavaFan's solution).
Comment on
Re: Generating all possible combinations from an AoA
In Section
Seekers of Perl Wisdom