Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Sorting By Columnby dasgar (Priest) |
on Jul 10, 2014 at 19:02 UTC ( [id://1093106]=note: print w/replies, xml ) | Need Help?? |
I could be wrong, but I think your while loop is going to have problems if the two specified files do not have the same number of lines. If the first file has less lines than the second file, your code won't fully process all lines in the second file. If the first file has more lines than the second file, your loop will try to read in more lines from the second file than what it has.
In Section
Seekers of Perl Wisdom
|
|