Re: when working with files under POE, shouldn't IO::AIO be used?

2006-12-13 Thread David Davis
Here is my working example: http://svn.xantus.org/shortbus/trunk/cometd-perl/lab/aio.pl David On 12/13/06, Rocco Caputo <[EMAIL PROTECTED]> wrote: Although Marc Lehmann doesn't come out and say so, IO::AIO provides two features that support its use from POE in a couple different ways. It ex

Re: when working with files under POE, shouldn't IO::AIO be used?

2006-12-13 Thread Rocco Caputo
Although Marc Lehmann doesn't come out and say so, IO::AIO provides two features that support its use from POE in a couple different ways. It exposes a file descriptor, which can be used to notify select-like loops when AIO operations are complete. For example: # POE integration open m