SYNOPSIS
my $filter = POE::Filter::IRC::Compat->new();
my @events = @{ $filter->get( [ @lines ] ) };
my @msgs = @{ $filter->put( [ @messages ] ) };
DESCRIPTION
POE::Filter::IRC::Compat is a POE::Filter that converts POE::Filter::IRCD output into the POE::Component::IRC compatible event references. Basically a hack, so I could replace POE::Filter::IRC with something that was more generic.Among other things, it converts normal text into thoroughly CTCP-quoted messages, and transmogrifies CTCP-quoted messages into their normal, sane components. Rather what you'd expect a filter to do.
A note: the CTCP protocol sucks bollocks. If I ever meet the fellow who came up with it, I'll shave their head and tattoo obscenities on it. Just read the ``specification'' (docs/ctcpspec.html in this distribution) and you'll hopefully see what I mean. Quote this, quote that, quote this again, all in different and weird ways... and who the hell needs to send mixed CTCP and text messages? WTF? It looks like it's practically complexity for complexity's sake --- and don't even get me started on the design of the DCC protocol! Anyhow, enough ranting. Onto the rest of the docs...