POE::Filter::IRC::P10 -- A POE-based parser for the IRC protocol, hacked for P10 protocol.
my $filter = POE::Filter::IRC::P10->new(); my @events = @{$filter->get( [ @lines ] )};
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 ] }
Creates a new POE::Filter::IRC::P10 object. Duh. :-) Takes no arguments.
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?
Enable or disable debugging information.
Dennis "fimmtiu" Taylor, <dennis@funkplanet.com>.
Hacked for P10 by Chris "BinGOs" Williams <chris@Bingosnet.co.uk>
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
To install POE::Component::IRC::Service, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::IRC::Service
CPAN shell
perl -MCPAN -e shell install POE::Component::IRC::Service
For more information on module installation, please visit the detailed CPAN module installation guide.