Help for this page
... open (ERRORFILE,"<", "Errors-email.txt") || die "File not found\n"; ... ... push(@sample_ids,$line); ...
... foreach my $records(@merged_array){ if($records =~ /$sample_ids[3]/){ ...