in reply to How to find all occurrences of a key in a deeply nested structure?
What have you tried?
I'd write a subroutine that receives a hash ref as an argument, and stores the right value if the key in question is there. Then it recurses into all the values that are hashrefs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to find all occurrences of a key in a deeply nested structure?
by deMize (Monk) on Oct 20, 2011 at 14:58 UTC | |
by DrHyde (Prior) on Oct 21, 2011 at 09:50 UTC |