I think he only needs it to work on a reference:
$arrayref = [ grep { not /$pattern/ } @$arrayref ];In reply to Re: Re: What's the idiom for finding and removing the found @ARRAY element?
by chromatic
in thread What's the idiom for finding and removing the found @ARRAY element?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |