http://qs321.pair.com?node_id=11119860


in reply to Re: Removing a string-element from an array of strings
in thread Removing a string-element from an array of strings

my %to_remove = map { $_ => 1 } qw( fee fie for ); my @filtered = grep { !$to_remove{$_} } @unfiltered;