Morris::Connection - Single IRC Connection
use Morris::Connection; my $conn = Morris::Connection->new( nickname => $nickname, port => $port_number, password => $optional_password, server => $server_name, username => $username, ); # to receive events $conn->register_hook( $hook_name => $code ); # to send events $conn->irc_notice( { channel => $channel, message => $message } ); $conn->irc_privmsg( { channel => $channel, message => $message } ); $conn->irc_mode( { channel => $channel, mode => $new_mode, who => $target } );
To install Morris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Morris
CPAN shell
perl -MCPAN -e shell install Morris
For more information on module installation, please visit the detailed CPAN module installation guide.