App::Bondage::Client - A PoCo-IRC plugin which handles a proxy client.
use App::Bondage::Client; $irc->plugin_add('Client_1', App::Bondage::Client->new(Socket => $socket));
App::Bondage::Client is a POE::Component::IRC plugin. It handles a input/output and disconnects from a proxy client.
This plugin requires the IRC component to be POE::Component::IRC::State or a subclass thereof.
new
One argument:
'Socket', the socket of the proxy client.
Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add() method.
plugin_add()
put
An IRC protocol line
Sends an IRC protocol line to the client
Hinrik Örn Sigurðsson, hinrik.sig@gmail.com
To install App::Bondage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Bondage
CPAN shell
perl -MCPAN -e shell install App::Bondage
For more information on module installation, please visit the detailed CPAN module installation guide.