Skip Menu |

This queue is for tickets about the Bot-BasicBot CPAN distribution.

Report information
The Basics
Id: 19823
Status: resolved
Priority: 0/
Queue: Bot-BasicBot

People
Owner: Nobody in particular
Requestors: ivorw-cpan [...] xemaps.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.65
Fixed in: (no value)



Subject: Module uses deprecated interface to POE::Component::IRC
I get the following (mildly annoying) messages when starting up a bot: Use of POE::Component::IRC->new() is deprecated, please use spawn(). Called from Bot::BasicBot /usr/local/share/perl/5.8.4/Bot/BasicBot.pm 117 Trying to connect to server irc.perl.org Use of POE::Component::IRC->new() is deprecated, please use spawn(). Called from Bot::BasicBot /usr/local/share/perl/5.8.4/Bot/BasicBot.pm 946 I've discussed this with the maintainer on #bots: ivorw By the way, how long has new() been deprecated in favour of spawn? BinGOs ages. BinGOs the B::BB author still hasn't noticed. ivorw I will need to prod jerakeen to fix it BinGOs I have a feeling that he may be using POE::Session->new() as well. * ivorw notes there is not a ticket on RT for this BinGOs it just needs that P::C::I instantiation line changing to POE::Component::IRC->spawn( alias => $self->{IRCNAME} ) or die(); BinGOs storing the P::C::I object might be nice as well. ivorw Thanx! I'll paste this dialogue into the RT ticket I'm raising if that's OK with you BinGOs Knock yourself out.