The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IRC::Toolkit::Parser - Functional-style IRC filter interface

SYNOPSIS

  use IRC::Toolkit::Parser;

  my $ref = irc_ref_from_line( $raw_irc_line );

  my $raw_line = irc_line_from_ref( $ref, colonify => 1 );

DESCRIPTION

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.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>