Maybe you have some blank lines at the end of the file. Add a check like this
pojwhile (my $line1 = <$file2>){ next unless ($line1 =~ /\S/); # skip empty lines chomp $line1;
In reply to Re^3: Combining Files using Hash
by poj
in thread Combining Files using Hash
by chaney123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |