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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Export CSV v2
by Tux (Canon) on Oct 09, 2012 at 07:00 UTC | |
|
Re^4: Export CSV v2
by Perl3r (Novice) on Oct 09, 2012 at 00:41 UTC |