Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Introduction to Parallel::ForkManager

by Anonymous Monk
on Nov 04, 2011 at 12:41 UTC ( #935913=note: print w/replies, xml ) Need Help??

in reply to Introduction to Parallel::ForkManager

Hi I am using the parallel fork manager module to start 4 processes in parallel.I want the output of those 4 processes for doing some operations like writing into a excel/text file. I assigned the output to variables but i am unable to acess those variables after pm->finish command(out side the for loop). please explain me the simple way to retreive data from child processes so that i can acess those output even after the child process exits. I have gone through that cpan module but didnt get exactly what to do

  • Comment on Re: Introduction to Parallel::ForkManager

Replies are listed 'Best First'.
Re^2: Introduction to Parallel::ForkManager
by Anonymous Monk on May 24, 2016 at 08:54 UTC
    I'm not an expert on this. But I saw it somewhere that you could save intermediate data generated by child processes to temp disk files. Parent process can then read those temp files for the data.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2016-10-24 15:27 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.