in reply to Question related to map
a) You might try providing valid perl for your sample data (granted what you did provide is intelligible enough people probably will understand what you meant), and b) you want to use grep to select a list of matching items, then use map to extract the key from those.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|