Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: TEXT::CSV Error 2032

by Tux (Abbot)
on Jun 25, 2012 at 14:35 UTC ( #978209=note: print w/replies, xml ) Need Help??


in reply to TEXT::CSV Error 2032

How did you open the file? e.g. Do you know the exact encoding of the data, as you should then use that knowledge to open the file

my $csv = Text::CSV_XS->new ({ binary => 1, auto_diag => 1 }); open my $fh, "<:encoding(utf-8)", $filename or die "..."; while (my $row = $csv->getline ($fh)) { ...

Is the data "private" or can I get a copy of the file?


Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978209]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2018-06-19 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (114 votes). Check out past polls.

    Notices?