Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Please Explain the Parallel::ForkManager Idiom my $pid = $pm->start and next;

by Jim (Curate)
on Feb 05, 2014 at 01:46 UTC ( #1073502=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "\nAll the kids are out of the pool\n";
    
    exit 0;
    
  2. or download this
        next KID_IN_LINE if $lifeguard->start($kid) != 0;
    
  3. or download this
    $lifeguard->run_on_start(
        sub {
    ...
            print "\nThe lifeguard waves $kid into the pool\n";
        }
    );
    
  4. or download this
    $lifeguard->run_on_finish(
        sub {
    ...
            print "\n$kid climbs out of the pool\n";
        }
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1073502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-08-23 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls