Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: generating combinations of elements of an arbitrary number of arrays

by RazorbladeBidet (Friar)
on Mar 15, 2005 at 20:54 UTC ( [id://439763]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://439763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-16 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found