Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
IO::Event::Callback - A closure based API for IO::Event
SYNOPSIS
use IO::Event::Callback;
IO::Event::Callback->new($filehanle, %callbacks);
use IO::Event::INET::Callback;
IO::Event::INET::Callback->new(%socket_info, %callbacks);
use IO::Event::UNIX::Callback;
IO::Event::UNIX::Callback->new(%socket_info, %callbacks);
DESCRIPTION
IO::Event::Callback is a wrapper around IO::Event. It provides an alternative interface to using IO::Event.
Instead of defining a class with methods like "ie_input", you provide the callbacks as code references when you create the object.