Welcome to the Monastery | |
PerlMonks |
Re: Hash filter one-liner not working as expectedby Dallaylaen (Chaplain) |
on Mar 17, 2019 at 18:06 UTC ( [id://1231371]=note: print w/replies, xml ) | Need Help?? |
I wonder if there's a hash filter function somewhere, as in:
Where $a is each key and $b is the corresponding value. Seems trivial to write, so it must exist. UPD: Here: Hash::MostUtils - called hashgrep.
In Section
Seekers of Perl Wisdom
|
|