"Scott R. Godin" wrote:
>
> unable to set ;csv_eol=\015, but saving the file via bbedit to DOS
> instead of Macintosh, the code works?!? what the hell?
AFAIK,
1. If you are on a MAC and have all MAC-formatted files, don't set
csv_eol at all, DBD::CSV should do the right thing.
2. If you are on a MAC and have all DOS formatted files, set csv_eol to
\015\012.
3. If you are on a MAC and have mixed files
a. convert them all to one format before processing (recommended)
or
b. for the files that you know are DOS formatted, set csv_eol to
\015\012 and
do not set it all for the MAC formatted files
> All well and good, except that the file is generated by a whole suite of
> perl scripts
So use the scripts to put a MAC eol in the file and forget about csv_eol
in the report generating scripts.
--
Jeff