Changes between Version 41 and Version 42 of Dev/Perl


Ignore:
Timestamp:
Nov 13, 2011 5:53:58 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev/Perl

    v41 v42  
    103103 * [http://www.perlmonks.org/?node_id=718414 maximum value of a scalar] 
    104104 * [http://perldoc.jp/docs/perl/5.10.0/perlnumber.pod perlnumber - Perl での数値と数値操作の意味論 【perldoc.jp】] 
     105 
     106 * CPAN:Parallel::ForkManager 
     107 > === SYNOPSIS === 
     108 > {{{#!perl 
     109 > use Parallel::ForkManager; 
     110 >  
     111 > $pm = new Parallel::ForkManager($MAX_PROCESSES); 
     112 >  
     113 > foreach $data (@all_data) { 
     114 >   # Forks and returns the pid for the child: 
     115 >   my $pid = $pm->start and next;  
     116 >  
     117 >   ... do some work with $data in the child process ... 
     118 >  
     119 >   $pm->finish; # Terminates the child process 
     120 > } 
     121 > }}}