You may avoid rolling your own by looking on CPAN. There are a few message+queue modules, some of which seem to be well-developed.
In reply to Re: decoupling processes via queues: advice wanted
by rcaputo
in thread decoupling processes via queues: advice wanted
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |