http://www.perlmonks.org?node_id=935913


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.