p5-Net-XMPP outdated

Dmitry Kubov dk at garant.ru
Tue Apr 12 07:13:49 UTC 2011


> On 10:44 Tue 12 Apr     , Dmitry Kubov wrote:
>> Still same error.
> Ok. This is probably a problem with an incompatibility with sendxmpp and
> Net::XMPP. I suggest you talk to both developers and present the test
> case case. The developer for Net::XMPP may have changed something that
> makes it incompatible with sendxmpp.
>
> [0] http://sendxmpp.platon.sk/
> [1] https://github.com/dap/Net-XMPP
>

Seems its not related to sendxmpp. Found simple script:

#! /usr/bin/perl

use Net::XMPP;
my $con=new Net::XMPP::Client();
$con->Connect(hostname=>"jabber.ru");
$con->AuthSend(username=>"user",
                         password=>"password",
                         resource=>"ALARM!");
my $msg=new Net::XMPP::Message();
$msg->SetMessage(to=>"reciver\@jabber.ru",
                  from=>"user\@jabber.ru",
                  body=>"My FirstJabber  Message FromFreeBSD");
$con->Send($msg);
$con->Disconnect();

edited to match my user/password/domain and got:

Can't call method "can_read" on an undefined value at 
/usr/local/lib/perl5/site_perl/5.10.1/XML/Stream.pm line 1492.

I have recent p5-XML-Stream-1.23.04



More information about the freebsd-perl mailing list