Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 rifling through the Monastery: (10)
As of 2018-10-15 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (82 votes). Check out past polls.

    Notices?