Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Introduction to Parallel::ForkManager

by biosysadmin (Deacon)
on Sep 14, 2003 at 21:37 UTC ( #291446=perltutorial: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $manager = new Parallel::ForkManager( 20 );
       
    
  2. or download this
       $manager->set_max_procs( $newMaximumProcs );
       
    
  3. or download this
       foreach my $command (@commands) {
          $manager->start and next;
    ...
          $manager->finish;
       };
       
    
  4. or download this
       $manager->run_on_start( 
          sub {
    ...
          }
        );
       
    
  5. or download this
       $manager->run_on_finish( 
          sub {
    ...
          }
       );
       
    
  6. or download this
       $manager->wait_on_finish( 
          sub {
    ...
          3
       );
       
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-12-20 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls