in reply to Re^2: Parallel::ForkManager and stack
in thread Parallel::ForkManager and stack

thanks to both of you. I didn't know about wait_one_child(), (and only realized how to use wait_for_available_procs() after seeing your post). This solves my problem