Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2018-12-10 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (47 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!