in reply to Re^2: Why is there only one column in the output file?
in thread Why is there only one column in the output file?
jwkrahn, you miss the point.
The main point was to check for and weed out blank lines and those which do not contain enough fields. I agree it would be better to assign the $line var in the while statement as well; I wrote it that way to change the OP's code as little as possible and focus on the input validation pieces.
|
|---|