Horris::Connection - Single IRC Connection
version v0.1.2
use Horris::Connection; my $conn = Horris::Connection->new( nickname => $nickname, port => $port_number, password => $optional_password, server => $server_name, username => $username, plugins => [qw/Foo Bar Baz/], );
on_connect - no args
on_disconnect - no args
on_privatemsg - args with (nickname, Horris::Message)
irc_privmsg - args with (Horris::Message)
sub on_connect { my ($self) = @_; # your stuff here after connected }
hshong <hshong@perl.kr>
This software is copyright (c) 2011 by hshong.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Horris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Horris
CPAN shell
perl -MCPAN -e shell install Horris
For more information on module installation, please visit the detailed CPAN module installation guide.