http://qs321.pair.com?node_id=1066601


in reply to Dynamically create a foreach loop within a foreach loop?

Here's a recent question that covers effectively the same problem (except for an array-of-arrays instead of an array-of-hashes): Variable number of foreach loops

---Update:---

To summarize, the options seem to be: