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.

In reply to jabber bot for monitoring a machine by spx2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.