Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: csv parsing with multiple missing values/multiple commas

by poj (Priest)
on Aug 02, 2014 at 19:33 UTC ( #1096028=note: print w/ replies, xml ) Need Help??


in reply to Re^4: csv parsing with multiple missing values/multiple commas
in thread csv parsing with multiple missing values/multiple commas

I couldn't get the callbacks to work with Parse::CSV. I think it only works with getline not fetch.
poj


Comment on Re^5: csv parsing with multiple missing values/multiple commas
Select or Download Code
Re^6: csv parsing with multiple missing values/multiple commas
by f77coder (Sexton) on Aug 02, 2014 at 23:24 UTC

    Can I thread/fork this code safely?

      You can't fork/thread any code safely without putting some thought into it. Multiple processes handling the same data always requires some synchronization. What exactly do you want to achieve?

        eventually i'd put the code on cluster and see how it runs. the file sizes i'm dealing with are >16Gb which is more than 8Gb on my system.

        thanks, appreciate the help.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-11-24 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls