Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Replies are listed 'Best First'.
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 having an uproarious good time at the Monastery: (6)
As of 2015-07-29 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls