|
|
| P is for Practical | |
| PerlMonks |
Re^2: How to find all occurrences of a key in a deeply nested structure?by deMize (Monk) |
| on Oct 20, 2011 at 15:38 UTC ( [id://932711]=note: print w/replies, xml ) | Need Help?? |
|
Thank you. Right now, I'm going to use Data::Walk, because of my familiarity and its resemblance to File::Find. However, I'm definitely going to look into this, since it seems to have some additional useful features (less typing). This looks like something that I can use with another project as well. Edit: I just tested this out and it works well. Using this, I could loop through the results array, and add the keys of that hash to another array/hash to get one list of values. Cheers, Demize
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||