in reply to Parallel::ForkManager never reaching run_on_finish()
$pm->wait_all_child; should instead be $pm->wait_all_children.
The other larger problem is that the signal handler for child termination is gumming up the works. If you just comment out $SIG{CHLD} = \&REAP; the code works okay and run_on_finish() is properly called
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parallel::ForkManager never reaching run_on_finish()
by swafo (Initiate) on Jul 24, 2013 at 21:41 UTC |