Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: TEXT::CSV Error 2032

by Tux (Monsignor)
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


Comment on Re: TEXT::CSV Error 2032
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-10-02 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (61 votes), past polls