It isn't wrong per sé, but why not put the eol attribute in the constructor?
my $csv = Text::CSV ({ binary => 1, eol => "\n", auto_diag => 1 });To convert CSV to XLS, Text::CSV_XS comes with the csv2xls script in the examples folder, so if XLS is your target format, you could use that.
In reply to Re^5: Need to create CSV using Text::CSV
by Tux
in thread Need to create CSV using Text::CSV
by oldwarrior32
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |