[Israel.pm] Arrays

Gaal Yahas gaal at forum2.org
Sun Aug 19 23:32:05 PDT 2007

On 8/20/07, Peter Gordon <peter at pg-consultants.com> wrote:
> I have a number of arrays
> and I want to find all possible combinations of all elements
> Is there a package which iterates over arrays?

You mean you don't know in advance how many arrays you have (or just
want to factor out the nestedness in your code)? Take a look at
Algorithm::Loops, specifically at the "Nested loops" stuff.

Gaal Yahas <gaal at forum2.org>

More information about the Perl mailing list