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

Re: Need help with arrays and CSVs

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

Help for this page

Select Code to Download


  1. or download this
    my $csv = Text::CSV->new ({ binary => 1, eol => $/ });
    open my $io, "<", $file or die "$file: $!";
    while (my $row = $csv->getline ($io)) {
         my @fields = @$row;
    }
    

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? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-10-22 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?