Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by hippo (Bishop)
on May 13, 2022 at 14:02 UTC ( [id://11143878]=note: print w/replies, xml ) Need Help??


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

It's an FAQ! The first solution proposed there is pretty concise in terms of keystrokes, if that's what you really want.


🦛

  • Comment on Re: How to grep for values & see the keys?

Replies are listed 'Best First'.
Re^2: How to grep for values & see the keys?
by misterperl (Pilgrim) on May 13, 2022 at 14:20 UTC
    Yes as I said there are many ways to do this in a while or for... That's what I was trying to avoid. But TYVM for your kind reply!

      Indeed - that's why I drew particular attention to the first solution in the FAQ which uses neither a while nor a for.


      🦛

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found