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

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]
[LanX]: ah... Denmark is planning to build a wall at the German border!
[LanX]: # Pestis Africana Suum
[erix]: that's an old plan, I think. Isn't there already a danewal (or some such name)?
[marto]: Build with -Wall
[erix]: Danewerk
[LanX]: I seem to remember that the danewall was build by the Frankish empire against the Danes

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2018-03-22 18:38 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (283 votes). Check out past polls.