If all your tasks can be identified by a simple ID, and you are running on Linux, you can "abuse" existing tools:
$ perl generate_ids.pl | xargs -P 3 -n 1 perl process_single_id.pl
In reply to Re: Implement Queue mechanism in Perl
by moritz
in thread Implement Queue mechanism in Perl
by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |