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

NAME

Net::Bot::IRC::NumericCodes - A module for abstracting IRC numeric codes.

VERSION

Version 0.02

SYNOPSIS

    use Net::Bot::IRC::NumericCodes;
    
    my $nc = IRC::NumericCodes->new();
    
    # Lookup the numeric based on the code string.
    if ($code == $nc->str2num("RPL_WELCOME")) {
        # Do something.
    }

    # Look up the code string based on the numeric code.
    if ($strcode eq $nc->num2str(001)) {
        # Do some other stuff.
    }
    

For a full list of codes please read http://tools.ietf.org/html/rfc2812.

AUTHOR

Caudill, Mark, mailto:markcaudillATme.com

BUGS

Please report any bugs or feature requests to the maintainer.

SUPPORT

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

    perldoc Net::Bot::IRC::NumericCodes

DEVELOPMENT

You can find the current sources for this at git://github.com/flakblas/Net-Bot-IRC-NumericCodes.git.

COPYRIGHT & LICENSE

Copyright 2010 Caudill, Mark.

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.