I simply cannot make sense of the Parallel::ForkManager idiom my $pid = $pm->start and next; as the first statement within a foreach loop that iterates a list of items. I've studied and run examples from the module's perldoc page over and over again, but I just can't wrap my head around how the idiom works. I've even read this explanation and I still don't get it.
How does the first item in whatever the foreach loop is iterating not get ignored? It's skipped—and yet it's somehow not skipped. I can't figure out how it's not skipped. It's maddening. Please explain it to me if you can.
Jim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |