Perl: the Markov chain saw | |
PerlMonks |
Re: Strange (for me) behavior of Parallel::ForkManagerby mbethke (Hermit) |
on Oct 10, 2012 at 01:54 UTC ( [id://998112]=note: print w/replies, xml ) | Need Help?? |
That's expected behavior---finish() is not supposed to return. But why would you want to pass in a code reference as a return code? None of the example code I've looked at does that. In any case I what you need to do is call finish() within the loop:
In Section
Seekers of Perl Wisdom
|
|