Where does $line3 get assigned? It's tested for inequality on line 27 of the code you posted, but I don't see where it's being populated.
use strict 'vars'; would have caught that and turned it into a compiletime error.
Dave
In reply to Re: Perl: How to print unmatched data after comparison of two files?
by davido
in thread Perl: How to print unmatched data after comparison of two files?
by WWq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |