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


in reply to How to iterate over nested hash and get all paths?

Recursion does seem the natural way to tackle this given the heierachical structure of the data. Find out about recursion with accumulators (if it is new to you).

The following may help (as a last resort)