Just another Perl shrine | |
PerlMonks |
Re: How to iterate over nested hash and get all paths?by Arunbear (Prior) |
on Mar 27, 2021 at 18:38 UTC ( [id://11130484]=note: print w/replies, xml ) | Need Help?? |
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) <Reveal this spoiler or all in this thread>
In Section
Seekers of Perl Wisdom
|
|