in reply to Re^2: Extracting elements from array -- grep
in thread Extracting elements from array
[ grep { exists $_->{name} and $_={'name' => $_->{name}} } @$aref ]
Beware that $_={'name' => $_->{name}} clobbers $aref because $_ is an alias. (Of course, $_ in map is also an alias, so it's possible to do oneself an injury with map also, but also easier to avoid. :-)
Give a man a fish: <%-{-{-{-<
|
|---|