in reply to Re: Parallel::ForkManager problem
in thread Parallel::ForkManager problem

in the OP example, using fork is still a valid option because the exit code can be used to pass an integer result back to the parent.

Replies are listed 'Best First'.
Re^3: Parallel::ForkManager problem
by tirwhan (Abbot) on Mar 28, 2006 at 10:58 UTC

    Yeah,though to me that has always seemed a bit of a hackish way of doing things. Exit codes should communicate error conditions or success of a process, if you want to pass regular information between child and parents use IPC (it's not like that's really so much more difficult than setting up the exit code handler). YMMV of course.


    All dogma is stupid.