IRC::Toolkit::Parser - Functional-style IRC filter interface
use IRC::Toolkit::Parser; my $ref = irc_ref_from_line( $raw_irc_line ); my $raw_line = irc_line_from_ref( $ref, colonify => 1 );
A simple functional-style frontend to POE::Filter::IRCv3.
This will be slower than using the filter directly, but it's convenient for one-offs.
See POE::Filter::IRCv3 for details.
Also see IRC::Message::Object for a handy object-oriented interface to IRC event transformation.
Takes a raw IRC line and returns a HASH as described in the documentation for POE::Filter::IRCv3.
Takes a HASH as described in POE::Filter::IRCv3 and returns a raw IRC line.
Jon Portnoy <email@example.com>