in reply to Re: Removing a string-element from an array of stringsin 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; [download]