in reply to generating combinations of elements of an arbitrary number of arrays

You can push the array refs onto a master array and loop through the master array and operate on the arrayrefs.

I had a similar question. The individual arrays contained arrayrefs, but the answer should be close, or hopefully at the least a good starting point.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs
  • Comment on Re: generating combinations of elements of an arbitrary number of arrays