You’re already using most of the same half of CPAN if you have Catalyst as a dependency, anyway, now that it uses Moose. No real reason not to use Net::Twitter..
Hey, I freely admitted that I was being lazy – twice!
If/When it comes to me doing things properly and creating a Model for it, I’ll be sure to use Net::Twitter
3. The XML::Stream thing has only been fixed a month ago. I agree that I should update my dependencies even though technically I don’t directly use XML::Stream so typically this is a bug for Jabber::Bot and/or Net::XMPP, which are both owned by the XML::Stream author. I’d encourage you to submit an RT to him to fix things.
1: I think some of my problems were due to the fact that I’d never tried connecting to a Jabber server before (with my own code, at least). One thing that does need documenting is the %bot_message_hash passed to the message_function sub – I don’t remember seeing any docs for that, and it’s probably of quite a lot of interest to people using N::J::Bot. It’s just a question of (lack of) time regarding submitting patches – so much to do, so few hours in the day (and night…)
2: I only started hacking at it last night (bit of a side project). From never having looked at Jabber to getting a bot working in only a couple of hours is pretty good going. I like to do a bit of my own leg-work before asking on lists.
3: Yes, the direct dependency isn’t really your “problem”. I guess it could be covered by adding something to the docs along the lines of “If you want to connect to Google servers, you need XML::Stream 1.23 or later”. There’s also the bot in the examples (gtalk_RSSbot.pl) which obviously isn’t going to work if the right version isn’t installed – a note/dep in the sources there would clue people in as well.
Thanks for creating this package – I wouldn’t have been able to get a bot up so quickly and easily without it.
about 5 months ago
Okay, I’ve been corrected – the new UK Director is based in Dudley, not Wolverhampton. At least I got the accent right!
about 1 month ago
You’re already using most of the same half of CPAN if you have Catalyst as a dependency, anyway, now that it uses Moose.
No real reason not to use Net::Twitter..
about 1 month ago
Hey, I freely admitted that I was being lazy – twice!
If/When it comes to me doing things properly and creating a Model for it, I’ll be sure to use Net::Twitter
about 3 weeks ago
Thanks for the post.
1. What don’t you like about the docs you don’t necessarily have to submit a patch if you don’t want to. Open a ticket.
http://code.google.com/p/perl-net-jabber-bot/issues/list
2. Questions are always welcome on the mailing list. There are a couple of successful implementations I know of that have a presence on it.
http://groups.google.com/group/perl-net-jabber-bot
3. The XML::Stream thing has only been fixed a month ago. I agree that I should update my dependencies even though technically I don’t directly use XML::Stream so typically this is a bug for Jabber::Bot and/or Net::XMPP, which are both owned by the XML::Stream author. I’d encourage you to submit an RT to him to fix things.
http://code.google.com/p/perl-net-jabber-bot/issues/detail?id=23
about 3 weeks ago
1: I think some of my problems were due to the fact that I’d never tried connecting to a Jabber server before (with my own code, at least). One thing that does need documenting is the %bot_message_hash passed to the message_function sub – I don’t remember seeing any docs for that, and it’s probably of quite a lot of interest to people using N::J::Bot.
It’s just a question of (lack of) time regarding submitting patches – so much to do, so few hours in the day (and night…)
2: I only started hacking at it last night (bit of a side project). From never having looked at Jabber to getting a bot working in only a couple of hours is pretty good going. I like to do a bit of my own leg-work before asking on lists.
3: Yes, the direct dependency isn’t really your “problem”. I guess it could be covered by adding something to the docs along the lines of “If you want to connect to Google servers, you need XML::Stream 1.23 or later”. There’s also the bot in the examples (gtalk_RSSbot.pl) which obviously isn’t going to work if the right version isn’t installed – a note/dep in the sources there would clue people in as well.
Thanks for creating this package – I wouldn’t have been able to get a bot up so quickly and easily without it.