Sprocket::AIO - IO::AIO support for Sprocket plugins
package MyPlugin; use Sprocket qw( Plugin AIO ); use base qw( Sprocket::Plugin ); ... snip ... aio_stat( $file, $con->callback( 'stat_file' ) );
This module handles everything needed to use IO::AIO within Sprocket plugins. You only need to use Sprocket::AIO and the callbacks from Sprocket::Connection. Sprocket::AIO will import AIO into your package for you.
IO::AIO, POE::Component::AIO
David Davis <xantus@cpan.org>
Copyright 2006-2007 by David Davis
See Sprocket for license information.
To install Sprocket, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sprocket
CPAN shell
perl -MCPAN -e shell install Sprocket
For more information on module installation, please visit the detailed CPAN module installation guide.