FWIW: This old node shows a recursive walker to dive into a randomly nested structure.
The OP might want to adapt it to his needs.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Iterating over hash to find specific key to sum up the cost (updated)
by LanX
in thread Iterating over hash to find specific key to sum up the cost
by vaitor15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |