Update: I was too hasty and only fixed the dereference problem. Obviously, to create a new AoH, you have to actually create the reference. So I've put the brackets on the expression.my $newAoH = [grep { !($_->{'name'} eq "fred") } @$AoHref];
In reply to Re: Grep and AoH references
by Roy Johnson
in thread Grep and AoH references
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |