Don't ask to ask, just ask | |
PerlMonks |
Re^2: howto map/grep a complex structureby NetWallah (Canon) |
on Aug 27, 2015 at 05:53 UTC ( [id://1140154]=note: print w/replies, xml ) | Need Help?? |
You are SEARCHING (grep) not TRANSFORMING (map), so map is not necessary. Here is a one-liner that works, but I would not recommend writing unreadable code like this.
Clarity: it's like that one thing that is not the other thing, except for when it is.
In Section
Seekers of Perl Wisdom
|
|