NAME

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

VERSION

Version 0.01

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:flakblas/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 2010 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.