more useful options | |
PerlMonks |
Re: Reading concurrently two files with different number of linesby Anonymous Monk |
on Apr 10, 2013 at 15:41 UTC ( [id://1028003]=note: print w/replies, xml ) | Need Help?? |
It might be simplest to loop while (!eof(A) or !eof(B)), and then read a line of each (if available) inside the loop body.
In Section
Seekers of Perl Wisdom
|
|