Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perl hash to CSV using Text::CSV_XS

by Tux (Abbot)
on Oct 05, 2012 at 09:58 UTC ( #997426=note: print w/replies, xml ) Need Help??


in reply to perl hash to CSV using Text::CSV_XS

Have you considered DBD::CSV? It uses Text::CSV_XS under the hood (speed), reads all in memory (database tables) and gives you a SQL interface to your data.

If all you need is to get all CSV into memory as quickly as possible, have a look at Text::CSV_XS' getline_all ()


Enjoy, Have FUN! H.Merijn
  • Comment on Re: perl hash to CSV using Text::CSV_XS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997426]
help
Chatterbox?
[davido]: If you ever doubt the progress made in CPU technology: I have a script that runs in 2m20s on a Core2-Duo with 8GB RAM and an SSD. On an i7-2700K, also with SSD, same script runs in 12.5s.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-11-22 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (326 votes). Check out past polls.

    Notices?