my %to_remove = map { $_ => 1 } qw( fee fie for ); my @filtered = grep { !$to_remove{$_} } @unfiltered;
In reply to Re^2: Removing a string-element from an array of strings
by ikegami
in thread Removing a string-element from an array of strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |