Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Read the csv file to a hash....

by generator (Pilgrim)
on Aug 31, 2015 at 21:53 UTC ( [id://1140572]=note: print w/replies, xml ) Need Help??


in reply to Read the csv file to a hash....

The OP implies a desire to preserve order:

"I want to read this file to a hash such that i can access that data using the row count."

If that is the case a hash is not an appropriate repository.

I would think an array would be more appropriate.

<><

generator

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found