"be consistent" | |
PerlMonks |
Can only connect to XMPP server as anonymous@unknown.com with perl Net::XMPP moduleby gauss76 (Scribe) |
on Dec 03, 2019 at 08:28 UTC ( [id://11109581]=perlquestion: print w/replies, xml ) | Need Help?? |
gauss76 has asked for the wisdom of the Perl Monks concerning the following question: I am trying to connect to an XMPP server and send a message to another user using the following perl code (taken from https://roadha.us/2011/04/send-xmpp-messages-with-perl-from-the-command-line-too.html). It works but the mesage is sent from anonymous@unknown.com. I know this because I have Pidgin running as another user on the same XMPP server and recieve the message from my perl program from anonymous@unknown.com. Pidgin also shows anonymous@unknown.com as offline!
From the code I would expect to by connected as Uname. Why is this not the case?
Back to
Seekers of Perl Wisdom
|
|