David Newman wrote:
I have some CSV input files that contain control and extended ASCII characters,

<snip>

The Text::CSV or Tie::Handle::CSV modules don't like these characters; the snippets below both return errors when they get to one.

<snip>

my $csv = Text::CSV->new();

In the docs for Text::CSV, that way of creating a new object is mentioned at the top of the SYNOPSIS section. The solution to your problem is stated right after that.

So, the usual recommendation:

"Read the docs for the module you are using."

is very much applicable. ;-)

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to