NAME
Bot::Net::Mixin::Server::IRC - mixin class for building IRC servers
SYNOPSIS
# Build a basic, no-frills IRC server
use strict;
use warnings;
package MyBotNet::Server::Main;
use Bot::Net::Server;
use Bot::Net::Mixin::Server::IRC;
1;
DESCRIPTION
This is the mixin-class for Bot::Net IRC servers. By using this class you create an IRC daemon:
use Bot::Net::Server; # define common Bot::Net server features
use Bot::Net::Mixin::Server::IRC; # we're an IRC server
METHODS
setup
Setup a new IRC server.
default_configuration PACKAGE
Returns a base configuration for an IRC server daemon.
POE STATES
on _start
At startup, this hanlder loads the information stored in the configuration file and configures the IRC daemon.
on server quit
This causes the IRC daemon to close all connections and stop listening.
SEE ALSO
AUTHORS
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.
This program is free software and may be modified and distributed under the same terms as Perl itself.