The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sprocket::AIO - IO::AIO support for Sprocket plugins

SYNOPSIS

  package MyPlugin;

  use Sprocket qw( Plugin AIO );
  use base qw( Sprocket::Plugin );
  
  ... snip ...
  
  aio_stat( $file, $con->callback( 'stat_file' ) );

DESCRIPTION

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.

SEE ALSO

IO::AIO, POE::Component::AIO

AUTHOR

David Davis <xantus@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2006-2007 by David Davis

See Sprocket for license information.