Net::IRC::JoinOnInvite - Role which lets your bot join all channels it's invite to
use Net::IRC; use Net::IRC::JoinOnInvite; my $bot = Net::IRC.new(...); $bot does Net::IRC::JoinOnInvite; # or class MyBot does Net::IRC::JoinOnInvite {...} my $bot = MyBot.new(...);
Net::IRC::JoinOnInvite is a role which installs a event handler listening for INVITE. When it is triggered, the bot joins the channel it was invited to.
Net::IRC::JoinOnInvite
INVITE
Ingo Blechschmidt <iblech@web.de>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlgpl and perlartistic for details.
To install Perl6::Pugs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pugs
CPAN shell
perl -MCPAN -e shell install Perl6::Pugs
For more information on module installation, please visit the detailed CPAN module installation guide.