in reply to Re^2: Export CSV v2
in thread Export CSV v2
Try adding:
$csv->eol ("\x0d\x0a");
after the my $csv = Text::CSV_XS->new ... statement. Probably Excel is generating Windows line ends even on a Mac and Perl is expecting either *nix of (legacy) Mac line endings.
True laziness is hard work
In Section
Seekers of Perl Wisdom