We don't bite newbies here... much | |
PerlMonks |
Re^2: How to grep for values & see the keys?by misterperl (Pilgrim) |
on May 13, 2022 at 14:18 UTC ( [id://11143881]=note: print w/replies, xml ) | Need Help?? |
Rolf as the song goes- YOU ARE SIMPLY THE BEST.. Whenever I see your name in a reply, I rejoice! Curiously, I was on the right track because I was looking at List::Util qq(pairs) to solve this but it only seemed to work on arrays. I didn't see pairgrep , looks very useful. I'll try that today after studying your example.
In Section
Seekers of Perl Wisdom
|
|