in reply to Re: howto map/grep a complex structure
in thread howto map/grep a complex structure

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.

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.