Next, use $pm->start to do the fork. $pm returns 0forto the child process, and child pidforto the parent process.
“Short circuit” expression evaluation means that the next statement will only be executed if the first half was True, i.e. not-zero, i.e. we are the parent process.
In reply to Re: "next" in Parallel::ForkManager, and subroutines
by Anonymous Monk
in thread "next" in Parallel::ForkManager, and subroutines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |