You're reply pointed me in the right direction - even though there were no error messages when I invoked ->new, I discovered that there is a diagnostic facility available if the "new" constructor fails. When I included it:
my $csv = Text::CSV_XS->new ({ binary => 1 }) or
die "".Text::CSV_XS->error_diag();
It informed me that I was using an unsupported argument. Further investigation showed that the Linux version of CSV_XS was older than the Windows version, and apparently does not support the same set of arguments.
Thanks for your help!
|