I want to write a bot in perl to run on a machine and
to receive various commands,execute them,and have it
send back monitoring information.
I have seen that bots are usually beeing written in perl
using POE.
I'd thought first to look at
pidginto see if it has
some plugins to allow reading and writing messages
to a user so that I can write a monolithic(one-user only)
bot so I've read this
doc wich describes Purple
but it's very incomplete...
it just says to look at the .xs code for libpurple,wich
unfortunately I can't find where this xs code lies
altough I have found
this and
this wich should be
the closest thing to a documentation to Purple
On perlmonks I have seen
one single node that talks about the use of Purple.
With Purple I read how I can send messages to other users
on jabber,but the documentation I've read doesn't describe
how to read what messages are beeing sent to me.
I've seen of two projects wich are online and
probably do something similar
to what I want to write
Jabber Perl Bot
and
Ambrosio.
I have also came across
Net::Jabber but the documentation has also been a little discouraging
Then I also came across
POE::Component::Jabber wich seems to be okay but also it lacks docs.
My questions is if you have wrote a similar thing can you tell me
what module have you used ?
How should I start writing this ?
What should I read?
Thank you.
EDIT:
In the meantime I've found that wikipedia presents
here all the available
perl implementations of the jabber protocol.