shanu_040 has asked for the wisdom of the Perl Monks concerning the following question:
sub parallel_search{ foreach my $key (keys %$searches) { my $pid = $pm->start($key) and next; $result_set = new Search::ResultSet; $parsed_search = $$searches{$key}->parse_search(); $result_set = $$searches{$key}->get_search_results($parsed_search, $ke +y); $pm->finish; } $pm->wait_all_children; return($result_set); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parallel Processing in Perl
by CountZero (Bishop) on Oct 20, 2008 at 05:46 UTC | |
|