Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Need help with arrays and CSVs

by jZed (Prior)
on Dec 26, 2007 at 20:33 UTC ( [id://659111]=note: print w/replies, xml ) Need Help??


in reply to Need help with arrays and CSVs

From the docs for Text::CSV_XS which also apply to Text::CSV:
my $csv = Text::CSV->new ({ binary => 1, eol => $/ }); open my $io, "<", $file or die "$file: $!"; while (my $row = $csv->getline ($io)) { my @fields = @$row; }
P.S. Please use <code>...</code> tags so your code is more legible.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-16 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found