Chris Williams > POE-Component-IRC-Service-0.996 > POE::Filter::IRC::P10

Download:
POE-Component-IRC-Service-0.996.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.996   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

POE::Filter::IRC::P10 takes lines of raw IRC input and turns them into weird little data structures, suitable for feeding to POE::Component::IRC::Service::P10. They look like this:

    { name => 'event name', args => [ some info about the event ] }

METHODS ^

new

Creates a new POE::Filter::IRC::P10 object. Duh. :-) Takes no arguments.

get

Takes an array reference full of lines of raw IRC text. Returns an array reference of processed, pasteurized events.

put

There is no "put" method. That would be kinda silly for this filter, don't you think?

debug

Enable or disable debugging information.

AUTHOR ^

Dennis "fimmtiu" Taylor, <dennis@funkplanet.com>.

Hacked for P10 by Chris "BinGOs" Williams <chris@Bingosnet.co.uk>

SEE ALSO ^

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

P10 Specification - http://www.xs4all.nl/~carlo17/irc/P10.html http://www.xs4all.nl/~beware3/irc/bewarep10.html

syntax highlighting: