I totally agree.
But the only mention of $. in the OP code is the line
next if $. < 2;Which suggests that the real problem is not in the line count but elsewhere.
Also, what purpose does this line serve?
use Text::CSV;Edit: The OP seems to have been silently updated while I was writing this. But I still don't understand the problem.
In reply to Re^2: Parsing csv without changing dimension of original file
by Not_a_Number
in thread Parsing csv without changing dimension of original file
by zillur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |