Use chomp to get rid of newlines:
while (my $line = <FILE>) { chomp $line; # ...
In reply to Re: ignore duplicates and show unique values between 2 text files
by choroba
in thread ignore duplicates and show unique values between 2 text files
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |