for my $string (@strings) { if ( $logLines =~ /$string/ ) {