"be consistent" | |
PerlMonks |
Re^2: Reading concurrently two files with different number of linesby frogsausage (Sexton) |
on Apr 10, 2013 at 15:55 UTC ( [id://1028005]=note: print w/replies, xml ) | Need Help?? |
Thanks for the answer.
After looking at the perldoc, eof(FH) is only returning if EOF is reached. In that case, it seems that using defined() will do as good as either $lineA or $lineB will be set to undef (and therefore be tested in the loop). Is that correct?
In Section
Seekers of Perl Wisdom
|
|