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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935913]
help
Chatterbox?
[Discipulus]: a test I hope..
[marto]: just a security event, they have people from the 'corporate' security, external security companies, the police etc
[marto]: perhaps I'll get the time to pin down some of the corporate security people, since they refuse to answer any questions
[marto]: for our system, the windows pre production domains alone require 490 accounts :/
[marto]: they don't have a password management solution, and we're not supposed to write any of this down
Discipulus boring meeting time.. ;=(
[choroba]: marto do you really remember 490 different passwords?! :-o

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-11-22 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (317 votes). Check out past polls.

    Notices?