POE::Filter::IRC -- A POE-based parser for the IRC protocol.
my $filter = POE::Filter::IRC->new(); my @events = @{$filter->get( [ @lines ] )};
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 ] }
Creates a new POE::Filter::IRC object. Duh. :-) Takes no arguments.
Without arguments, returns the current debug state. True/false argument will toggle the debug state.
Takes an array reference full of lines of raw IRC text. Returns an array reference of processed, pasteurized events.
There is no "put" method. That would be kinda silly for this filter, don't you think?
Dennis "fimmtiu" Taylor, <dennis@funkplanet.com>.
The documentation for POE and POE::Component::IRC.