Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re: How to grep for values & see the keys?
in thread How to grep for values & see the keys?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found