David Davis > Sprocket-0.07 > Sprocket::AIO

Download:
Sprocket-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: