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;
|
---|
In Section
Seekers of Perl Wisdom