Don't create them. Use a flag like I showed and use it to control the output. Use a different row variable that increments after each write. e.g. $row_out
update: corrected $row_out++# write row if ($flag){ for my $col ( $col_min .. $col_max ) { $worksheet1->write($row_out, $col, $value[$col],$fmt); } $row_out++; $flag = 0 if $flag == 2; }
In reply to Re^11: XLS to CSV file with Text wrap
by poj
in thread XLS to CSV file with Text wrap
by kshitij
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |