The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Bot::IRC::Message - An IRC protocol message class.

VERSION

Version 1.0.1

SYNOPSIS

    use Net::Bot::IRC::Message;

    my $outgoing = Net::Bot::IRC::Message->new({
        prefix  => $prefix, #Optional
        command => $cmd,
        params  => $params,
    });
    my $raw_message = $outgoing->compile();

    my $incoming = Net::Bot::IRC::Message->new({
        unparsed => $raw_message,
    });
    my ($prefix, $command, $params)
        = $incoming->parse();

FUNCTIONS

new( prefix => $prefix, command => $cmd, params => $params )

new( unparsed => $raw_message )

parse()

compile()

AUTHOR

Mark Caudill, <mcaudill at cpan.org>

SOURCE

The source for this module is maintained at <git@github.com:markcaudill/Net-Bot-IRC-Message.git>.

BUGS

Please report any bugs or feature requests to bug-net-bot-irc-message at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Bot-IRC-Message. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::Bot::IRC::Message

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2023 Mark Caudill.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.