Net::IRC2::Connection - One connection to an IRC server.
!!! UNDER PROGRAMMING !!! Wait a moment, please hold the line ...
Documentation in progress ...
Make a Connection object. You don't need to make a NET::IRC2 object if you just want one connection. You should specify nick, server.
Net::IRC2::Connection::new( nick=>'MyNick', server=>'host.domain.tld' )
Add a callback
$conn->add_handler( 'PRIVMSG', \&callback ) $conn->add_handler( [ 'PRIVMSG' , 'JOIN' ], \&callback )
Start the client loop
Process only the next IRC message
Your Nickname
The password
return the Net::IRC2 parent object
The server like it was specified on creation
Return the socket assigned to the connection
Take one argument: a chan name $conn->join('#chan');
Take one argument: a chan name $conn->part('#chan');
Net::IRC2, Net::IRC2::Event
Karl Y. Pradene, <knotty@cpan.org>, irc://knotty@freenode.org/
<knotty@cpan.org>, irc://knotty@freenode.org/
Copyright 2005, Karl Y. Pradene <knotty@cpan.org> All rights reserved.
This program is released under the following license: GNU General Public License, version 2
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
See http://www.fsf.org/licensing/licenses/gpl.html
To install Net::IRC2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::IRC2
CPAN shell
perl -MCPAN -e shell install Net::IRC2
For more information on module installation, please visit the detailed CPAN module installation guide.