Combinations of an array of arrays...?by doowah2004 (Monk)
|on Oct 08, 2004 at 15:19 UTC||Need Help??|
doowah2004 has asked for the wisdom of the Perl Monks concerning the following question:
I have been racking my brain on this, and I am sure that it is probably simple. What I have is 7 arrays with arbitrary number of elements in each. I would like to create a new array that contains combinations of the other seven in this manner:
1. Only one element from each of the 7 arrays.
2. minimum of 4 elements per element in final array
For example if I had the data:
Does anyone have any pointers?
Thanks in advance,