POE::Component::Server::IRC::CommonA Perl module that provides a set of common functions for the POE::Component::Server::IRC suite. | |
Download |
POE::Component::Server::IRC::Common Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Chris Williams
- Publisher web site:
- http://search.cpan.org/~bingos/
POE::Component::Server::IRC::Common Tags
POE::Component::Server::IRC::Common Description
A Perl module that provides a set of common functions for the POE::Component::Server::IRC suite. POE::Component::Server::IRC::Common is a Perl module that provides a set of common functions for the POE::Component::Server::IRC suite.SYNOPSIS use strict; use warnings; use POE::Component::Server::IRC::Common qw( :ALL ); my $nickname = '^Lame|BOT'; my $uppercase_nick = u_irc( $nickname ); my $lowercase_nick = l_irc( $nickname ); my $mode_line = 'ov+b-i Bob sue stalin*!*@*'; my $hashref = parse_mode_line( $mode_line ); my $banmask = 'stalin*'; $full_banmask = parse_ban_mask( $banmask ); if ( matches_mask( $full_banmask, 'stalin!joe@kremlin.ru' ) ) { print "EEK!"; } my $results_hashref = matches_mask_array( @masks, @items_to_match_against ); my $mode_change = gen_mode_change( 'abcde', 'befmZ' ); my $passwd = mkpasswd( 'moocow' );POE::Component::IRC::Common provides a set of common functions for the POE::Component::Server::IRC suite. There are included functions for uppercase and lowercase nicknames/channelnames and for parsing mode lines and ban masks. Requirements: · Perl
POE::Component::Server::IRC::Common Related Software