good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Looks good for me, map can't handle recursion.
The normal approach for nested data is to write a recursive "walker" and that's what you did. The only tip I could probably have is trying hash slices as filters, but only if performance mattered.
Cheers Rolf
In reply to Re: A more elegant way to filter a nested hash?
by LanX
|
|