in reply to Re: What's the idiom for finding and removing the found @ARRAY element?
in thread What's the idiom for finding and removing the found @ARRAY element?
I think he only needs it to work on a reference:
$arrayref = [ grep { not /$pattern/ } @$arrayref ];
|
|---|