Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Parsing CSV into a hash

by tilly (Archbishop)
on Sep 20, 2005 at 08:00 UTC ( #493378=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Text::xSV;
    
    ...
    while (my $row_ref = $parser->get_row) {
        $data{ $row_ref->[1] } = $parser->extract_hash;
    }
    
  2. or download this
    use Text::xSV;
    
    ...
    while (my $row_ref = $parser->get_row) {
        $data{ $row_ref->[1] } = $parser->extract_hash;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-08-16 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (167 votes). Check out past polls.

    Notices?