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 ] }
This module was long deprecated in POE::Component::IRC. It now uses the same mechanism that that uses to parse IRC text.
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.
See the documentation for POE::Filter::IRCD and POE::Filter::IRC::Compat.
Dennis fimmtiu Taylor
fimmtiu
Refactoring by Chris BinGOs Williams <chris@bingosnet.co.uk>
BinGOs
The documentation for POE and POE::Component::IRC.
POE::Filter::Stackable
POE::Filter::IRCD
POE::Filter::IRC::Compat
To install POE::Component::IRC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::IRC
CPAN shell
perl -MCPAN -e shell install POE::Component::IRC
For more information on module installation, please visit the detailed CPAN module installation guide.