Here is a one-liner that works, but I would not recommend writing unreadable code like this.
print for grep { grep {$search eq $_ } @{$href->{$_}->{member}} } keys %$href;
Clarity: it's like that one thing that is not the other thing, except for when it is.
In reply to Re^2: howto map/grep a complex structure
by NetWallah
in thread howto map/grep a complex structure
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |