Subject: | Bot::BasicBot::Pluggable documentation incorrectly labels variable alt_nicks as altnicks |
Date: | Thu, 22 Mar 2012 16:21:50 -0500 |
To: | bug-Bot-BasicBot-Pluggable [...] rt.cpan.org |
From: | Michael Alexander <omniminded1 [...] gmail.com> |
__SUBJECT__
Bot::BasicBot::Pluggable documentation incorrectly labels variable
alt_nicks as altnicks
__BODY__
Bot::BasicBot::Pluggable VERSION = '0.96'
Perl: perl 5, version 12, subversion 2 (v5.12.2 (*)) built for i386-openbsd
with 4 registered patches
Operating system: OpenBSD 4.9 GENERIC.MP#794 i386
Documentation incorrectly labels variable "alt_nicks" as "altnicks"...
http://search.cpan.org/~diz/Bot-BasicBot-Pluggable-0.96/lib/Bot/BasicBot/Pluggable.pm#Creating_the_bot_module
Patch...
=head2 Creating the bot module
# with all defaults.
my $bot = Bot::BasicBot->new();
# with useful options. pass any option
# that's valid for Bot::BasicBot.
my $bot = Bot::BasicBot::Pluggable->new(
channels => ["#bottest"],
server => "irc.example.com",
port => "6667",
nick => "pluggabot",
- altnicks => ["pbot", "pluggable"],
+ alt_nicks => ["pbot", "pluggable"],
username => "bot",
name => "Yet Another Pluggable Bot",
ignore_list => [qw(hitherto blech muttley)],
);