The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::IRC2::Connection - One connection to an IRC server.

VERSION

!!! UNDER PROGRAMMING !!! Wait a moment, please hold the line ...

Documentation in progress ...

FUNCTIONS

new()

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_handler()

Add a callback

$conn->add_handler( 'PRIVMSG', \&callback ) $conn->add_handler( [ 'PRIVMSG' , 'JOIN' ], \&callback )

add_default_handler()
start()

Start the client loop

do_one_loop()

Process only the next IRC message

nick()

Your Nickname

user()
pass()

The password

realname()
parent()

return the Net::IRC2 parent object

server()

The server like it was specified on creation

port()
socket()

Return the socket assigned to the connection

chans()

IRC Commands

mode()
join()
part
privmsg()
notice()
whois

INTERNALS FUNCTIONS

split_uri()
grammar()
parser()
dispatch()
callback()
sl()
last_sl()

SEE ALSO

Perl modules working with IRC connections: Net::IRC, POE::Component::IRC

IRC Request For Comment 1459 http://www.ietf.org/rfc/rfc1459.txt?number=1459

COPYRIGHT & LICENSE

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