SourceForge Logo

NAME

Boucherot - The Boucherot IRC bot

SYNOPSIS

  use Boucherot;
  my $bot=new Boucherot;
  $bot->start();

  # Usually, this code won't be executed... The bot will be on, until 
  # it crash

DESCRIPTION

Boucherot is a bot for IRC. It was using Net::IRC at the beginning, but now, it's independant.

The goal of boucherot is to make something at least as powerful as eggdrop, but in perl.

GISSUML MODEL

class Boucherot

Attributs:

 +$ CRLF : Scalar
 -$ instance : Boucherot
 -  _set_of_connections : Boucherot::SetOfConnections

Methods:

 +$ new() : Boucherot
 +  set_of_connections() : Boucherot::SetOfConnections
 +  start() : 
 -  _init() :

METHODS

new

 +$ new() : Boucherot

Create a new instane of Boucherot. Note that ONLY ONE instance can exists. Creating two instances will crash!

set_of_connections

 +  set_of_connections() : Boucherot::SetOfConnections

Acces to the auto-created instance of SetOfConnections for the bot.

start

 +  start() :

Start the bot. Never end...

_init

 -  _init() :

Initialize the bot. That method is auto-called when creating a new instance.

SIGNALS

This section deels with unix's signals, not with xchat-like signals. For xchat-like signals, please see Boucherot::signal.

Those siganls have been overridden:

  Signal    Function       Why

  INT       exit           To let the objects be safely destroyed.
  TERM      exit           To let the objects be safely destroyed.

AUTHORS

This class was written by Arthibus Gissehel <gissehel@vachefolle.com> in 2000.

NOTES

This class is part of the Boucherot project.