[Israel.pm] Arrays

Peter Gordon peter at pg-consultants.com
Sun Aug 19 23:57:11 PDT 2007

On Mon, 2007-08-20 at 09:32 +0300, Gaal Yahas wrote:
> 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)?

The number of arrays varies with each iteration

>  Take a look at
> Algorithm::Loops, specifically at the "Nested loops" stuff.

More information about the Perl mailing list