in reply to Re: Help with null string behavior in regex?
in thread Help with null string behavior in regex?
if (@strings){ $re = join "|", map {quotemeta} @strings; } else { $re = undef; } foreach my $line (@file1only) { print unless defined($re) && /$re/; }
|
|---|