in reply to Re^4: text::csv output help
in thread text::csv output help

$csv->print (...) only prints a newline if it is told to do so. You can tell it to do so either in the constructor

my $csv = Text::CSV->new ({ binary => 1, auto_diag => 1, eol => "\n" });

Or at a leter stage

my $csv = Text::CSV->new ({ binary => 1, auto_diag => 1 }); $csv->eol ("\r\n");

Enjoy, Have FUN! H.Merijn