in reply to
Re: reading lines from 2 different files
in thread
reading lines from 2 different files
Your code silently ignores extra lines in file2.
Comment on
Re^2: reading lines from 2 different files
Replies are listed 'Best First'.
Re^3: reading lines from 2 different files
by
toolic
(Bishop)
on Oct 08, 2007 at 19:15 UTC
Yes, I realize that, but thanks for explicitly pointing it out. The OP stated that the 2 files have the "same number of lines". So, I presumed that the OP would be checking that ahead of time.
[reply]
In Section
Seekers of Perl Wisdom