However
my @newArray = grep {exists $_->{name}} @$aref;
seems a lot cleaner and easier to maintain than the version you offered. Is grep really that much more arcane than using if as a statement modifier, a superfluous statement label and redundant {} when dereferencing a simple array reference?
In reply to Re^2: Extracting elements from array
by GrandFather
in thread Extracting elements from array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |