It's a good time for a hash and grep.
my %delh; @delh{@dels} = (); @array = grep ! exists $delh{$_}, @array;
In reply to Re: deleting a specific element from an array
by kyle
in thread deleting a specific element from an array
by sugar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |