[jdev] Transmitting a GPG signature in presence from a Perl bot

Hugh Barnard hugh.barnard at googlemail.com
Thu Mar 11 05:46:51 CST 2010


Hi

I'm developing a simple Perl Jabber bot, based on the  Net::XMPP
library. Bot works pretty well, it's based on the example!

However I want to transmit a GPG signature in the presence message
(I'm fairly new to Jabber, so this is my current understanding).
Therefore I've done:
my $pres = new Net::XMPP::Presence(signature => $signature) ;
$Connection->PresenceSend( $pres);
That's what seems to be described at the top of the modules...but
nothing comes out at the other end in the Gajim XML console.

If there's someone with a deeper grasp of the Perl libraries or
(simply) if I'm wrong conceptually, I'd be grateful for a hand..

Best regards Hugh



-- 
http://www.hughbarnard.org
http://www.big-wave-heuristics.com/

http://www.hackney-environment-network.org.uk/


More information about the JDev mailing list