I have been using Parallel::ForkManager for some time, but I don't understand the place in the documentation that says The "and next" skips the internal loop in the parent process.
Today I tried to do the fork with the usual $fork_manager->start and next; within a subroutine, but I am getting an error, namely Exiting subroutine via next at ... line ...
Can someone explain the "next" part or help me understand what is going on? I know what "next" does in a while or for loop, I just don't understand it here. Do I need to post a minimal example to make it clear what my question is?
In reply to "next" in Parallel::ForkManager, and subroutines by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |