in reply to Re^2: Removing numerous entries from an array
in thread Removing numerous entries from an array

Try this:
my @a = (1, 2, 3, 4, 3, 5, 3, 34); my @find = (4, 3, 53); my @out = grep { -1 == index "@find", $_ } @a;
:)

Replies are listed 'Best First'.
Re^4: Removing numerous entries from an array
by stevieb (Canon) on Sep 15, 2015 at 11:56 UTC

    I see what happens there :)

    Point well taken on why the separators were around the $_.