[JDEV] Net::Jabber problem

DJ Adams dj.adams at pobox.com
Sun Apr 15 17:22:32 CDT 2001


On Sun, Apr 15, 2001 at 09:51:30PM +0200, frank wrote:
> got this:
> 
> [root at foo /root]# perl -MNet::Jabber -e 'print $Net::Jabber::VERSION'
> 1.0022[root at foo /root]#

haha, good one ...

So this is CVS bleeding edge huh?

;-)

So I pull down the CVS version of netjabber to have a look at
component_exec.pl, and I see this:

use Net::Jabber; qw(Component);
...
my $Component = new Net::Jabber::Component();

Well, looks like we've got load-on-demand in 1.0022, but that's never
going to work with the semi-colon between 'Jabber' and 'qw' <grin/>

Remove the semicolon so the line looks like this:

use Net::Jabber qw(Component);

and it should work fine (I just tried it)

cheers
dj






More information about the JDev mailing list