Hi BrowserUk,
use Async is a good solution. The return value from paralleled subs is hash reference, I use the AsyncData
use Async;
$proc = AsyncData->new(sub {...});
But, I got errors. It says, "Magic number checking on storable string failed at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Storable.pm line 416, at /usr/lib/perl5/site_perl/5.8.8/Async.pm line 128". I google searched. But, did not find any good explanation and solution. Do you have any idea?
Gary
In reply to Re^2: Parallel Modules ?
by Gary Yang
in thread Parallel Modules ?
by Gary Yang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |