I am working on a test program for OpenMosix and I need help with the Perl module Parallel::ForkManager. Did anybody ever called a sub from between the start and finish statement of the fork? Something like: for $i (0..10){
$pm->start and next;
Calculate($i,@s,$j);
$pm->finish;
}
$pm->wait_all_children;
The documentation isn't explicit enough for me.
I think I have problem passing parameters to the sub. I also had problem using a global variable isntead of passing @s.
If it's not clear, let me know.
10:44:38 PM comment [] - See Also: OpenMosix