in reply to (jptxs) Re: Creating Excel Spreadsheet from text data file
in thread Creating Excel Spreadsheet from text data file

There is a subtle difference between $a++ and ++$a when you use it in an expression (and not like he did in his code):
$a = 0; print $a++; # 0 print $a; # 1 print ++$a; # 2 print $a; # 2