in reply to Re^4: Insert blank rows in a CSV
in thread Insert blank rows in a CSV

Generally, when you want to open a file for writing, you would do something like:
open FILE_HANDLE, ">filename.csv" or die "Couldn't open filename.csv f +or writing $!";
and then to print to the file you would specify the file handle as part of the print statement, hence print FILE_HANDLE ",,,,,\n"; In this case, I can see where you're opening the work book with Win32::OLE, but all of your print statements seem to be going to standard output, which won't write anything to the file.

update: fixed type (thanks blazar)