Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Read CSV with column mapping

by coretele (Novice)
on Dec 16, 2018 at 02:11 UTC ( [id://1227308]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       while(my $colref = $csv->getline ($csv_fh))
       {
    ...
          
          $output_hash{shift @{$colref}} = $colref;
       }
    
  2. or download this
    #ksjlasjda
    
    abc xyz,10
    xyz pqr,2
    pqr stq,0.1
    

Log In?
Username:
Password:

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

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

    No recent polls found