in reply to basic fork question
All you have to do is decide on how many children you want :)use Parallel::ForkManager; my $pm = new Parallel::ForkManager(30); foreach my $line (@array) { $pm->start and next; # process here $pm->finish; } $pm->wait_all_children;
gav^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |