Solo has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking to write a jabber bot, but haven't made the jump to Perl 5.8. The newer Net::Jabber (both 1.28 and 1.26 dists on CPAN) and XML::Stream all require 5.8.

Randy Kobes has XML::Stream 1.14 at his PPM repository, so I'm covered there.

Could anyone please point me to a reasonably stable, older dist of Net::Jabber that will work under Perl 5.6? Thanks!

--Solo


Uh... had a slight weapons malfunction. But, uh, everything's perfectly all right now. We're fine. We're all fine here, now, thank you. How are you?

  • Comment on Is there a Net::Jabber package for Perl 5.6 somewheres?

Replies are listed 'Best First'.
Re: Is there a Net::Jabber package for Perl 5.6 somewheres?
by Mr_Person (Hermit) on Jun 11, 2003 at 17:44 UTC

    I've been using the 1.28 version on Perl 5.6 with no problems for quite a while now. Where did you see that it required Perl 5.8? In fact, the source of Jabber.pm says require 5.005;, so I don't think you should have any problems running under Perl 5.6.

    Update: Just checked the latest CVS over at JabberStudio and it too only requires 5.005.

      Okay, Net::Jabber 1.28 requires XML::Stream 1.16 which requires Perl 5.8 for Unicode support. And I read that as requires 5.8 period. My bad, since the source clearly has use 5.006_001;

      Still, XML::Stream 1.16 hangs at buildxml test 3, so there must be something funny going on. I'll have to send an email to the maintainer.

      Thanks for the sanity check!

      --Solo

Re: Is there a Net::Jabber package for Perl 5.6 somewheres?
by zengargoyle (Deacon) on Jun 11, 2003 at 23:18 UTC

    i don't know how i managed it, but they work for me with 5.6.1

    $ perl -e 'use Net::Jabber qw(Client); print Net::Jabber->VERSION,$/' 1.28 $ perl -MXML::Stream -e 'print XML::Stream->VERSION,$/' 1.16 $ perl -v This is perl, v5.6.1 built for i686-linux Copyright 1987-2001, Larry Wall ...

    i don't remember any difficulties installing them. but i just might have done an 'force install ...' somewhere along the line.

    my very simple Client/Component test worked w/o any problem. it might very well break with some real Unicode in the stream somewhere.

    anyhow, it's good to see others interested in Jabber. i've been planning on using Jabber for a NetworkEvent messaging system for various distributed daemons, but i've been holding off waiting for the XMPP standards stuff to finish up with the IETF approval process.