in reply to How can I find the occurrence of a variable in each line of an array
Try
my $fullre = join '|', map { "\Q$_\E" } @full_list; ... @grepnames = $holdit =~ m{($fullre)}g; [download]