POE::Filter::IRC.3pm

Langue: en

Version: 2008-02-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

POE::Filter::IRC -- A POE-based parser for the IRC protocol.

SYNOPSIS

  my $filter = POE::Filter::IRC->new();
  my @events = @{ $filter->get( [ @lines ] ) };
 
 

DESCRIPTION

POE::Filter::IRC takes lines of raw IRC input and turns them into weird little data structures, suitable for feeding to POE::Component::IRC. They look like this:
  { name => 'event name', args => [ some info about the event ] }
 
 

This module was long deprecated in POE::Component::IRC. It now uses the same mechanism that that uses to parse IRC text.

CONSTRUCTOR

"new"
Returns a new POE::Filter::Stackable object containing a POE::Filter::IRCD object and a POE::Filter::IRC::Compat object. This does the same job that POE::Filter::IRC used to do.

METHODS

"get"
Takes an array reference full of lines of raw IRC text. Returns an array reference of processed, pasteurised events.
"put"
There is no ``put'' method. That would be kinda silly for this filter, don't you think?

AUTHOR

Dennis "fimmtiu" Taylor

Refactoring by Chris "BinGOs" Williams <chris@bingosnet.co.uk>

SEE ALSO

The documentation for POE and POE::Component::IRC.

POE::Filter::Stackable

POE::Filter::IRCD

POE::Filter::IRC::Compat