laziness, impatience, and hubris | |
PerlMonks |
Re^5: A more elegant way to filter a nested hash?by LanX (Saint) |
on May 31, 2018 at 19:11 UTC ( [id://1215563]=note: print w/replies, xml ) | Need Help?? |
I count the slice as iteration. It's fast but doesn't come without a price. I also think there are differences in error handling, a missing value will be reported as undef when you slice, without raising an error.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|