[ 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: <%-{-{-{-<
In reply to Re^3: Extracting elements from array -- grep
by AnomalousMonk
in thread Extracting elements from array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |