I'm pretty tired (Friday and all) so I may not be wrapping my head around this properly, but won't grep /\Q$_/, @wf just be matching the elements of @wf against themselves, and not @f like you probably intended?
for my $ff (@f) { if (! grep {$ff=~/\Q$_/} @wf){ print "$ff\n"; } }
In reply to Re: "Unescaped left brace in regex is deprecated"
by Anonymous Monk
in thread "Unescaped left brace in regex is deprecated"
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |