Best practice for variables shared between processes?

Paul Sharpe paul at coreware.co.uk
Tue Sep 21 09:33:49 BST 2010


On 20 September 2010 17:30, Roger Burton West <roger at firedrake.org> wrote:
> I wish to have two processes, a "producer" (which will create files) and
> a "consumer" (which will do something with them), running
> simultaneously. Ideally the producer would push filenames to a list as
> it finishes producing them, while the consumer would shift them off the
> same list (or loop-wait, if the list is empty).

POE-Component-DirWatch-Object for the consumer (requires Moose)?

paul


More information about the london.pm mailing list