AnyEvent::IRC::Util(3pm) User Contributed Perl Documentation AnyEvent::IRC::Util(3pm)
NAME
AnyEvent::IRC::Util - Common utilities that help with IRC protocol handling
SYNOPSIS
use AnyEvent::IRC::Util qw/parse_irc_msg mk_msg/;
my $msgdata = mk_msg (undef, PRIVMSG => "mcmanus", "my hands glow!");
FUNCTIONS
These are some utility functions that might come in handy when handling the IRC protocol.
You can export these with eg.:
use AnyEvent::IRC::Util qw/parse_irc_msg/;
parse_irc_msg ($ircline)
This method parses the $ircline, which is one line of the IRC protocol without the trailing "