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
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');
Karl Y. Pradene,
Copyright 2005, Karl Y. Pradene <email@example.com> 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