Think about Loose Coupling | |
PerlMonks |
Re^2: A more elegant way to filter a nested hash?by jimpudar (Pilgrim) |
on May 31, 2018 at 20:39 UTC ( [id://1215577]=note: print w/replies, xml ) | Need Help?? |
Interesting ideas. I especially like the first one. This got me thinking that it may be more performant to simply delete the values I don't need from the original hash instead of constructing a new one. For my current use case, this could be okay, but I could imagine future use cases where this would not be desirable... πάντων χρημάτων μέτρον έστιν άνθρωπος.
In Section
Seekers of Perl Wisdom
|
|