Try
my $fullre = join '|', map { "\Q$_\E" } @full_list; ... @grepnames = $holdit =~ m{($fullre)}g;
In reply to Re: How can I find the occurrence of a variable in each line of an array
by Anonymous Monk
in thread How can I find the occurrence of a variable in each line of an array
by alicatserver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |