|laziness, impatience, and hubris|
Re: reading two files in parallelby LanX (Canon)
|on May 02, 2013 at 19:32 UTC||Need Help??|
reads till the end of the longer file. Changing to and limits to shorter one.
( addicted to the Perl Programming Language)
UPDATE Please note
Since $a and $b are not chomped, no normal input line should ever be false and hence not necessarily tested with defined.
Better take care if you are using special filehandles allowed to return a simple 0 or null strings!!!
In boolean context: + is like or, * is like and, just w/o short circuit.