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

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

SYNOPSIS

    my $filter = POE::Filter::IRC::Hybrid->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 ] }

METHODS

new

Creates a new POE::Filter::IRC::Hybrid 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 Hybrid by Chris Williams, <chris@bingosnet.co.uk>.

SEE ALSO

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