in reply to Re: error message txtFile comparison with output in another txtfile
in thread error message txtFile comparison with output in another txtfile

The variable in the foreach loop should also be properly declared, and preferably not called $a.

for my $pattern (@gen) { my @result = grep/^\Q$pattern\E$/, @sea; push (@final , @result); }
  • Comment on Re^2: error message txtFile comparison with output in another txtfile
  • Download Code