Subject: | Roster's callbacks print to STDOUT on every recieved iq or presence packet |
So Net::XMPP (v1.0) ships with enabled debugging print code in Roster.pm. This may work fine for X applications but breaks anything using the console or curses.
The two offending print statements (that I found) are on lines 426 and 464 (in handleIQ and handlePresence) of Roster.pm. Commenting these out fixed the problem for me.
perl -v output:
This is perl, v5.8.6 built for i386-linux
[the rest of the output is redacted]
uname -a output:
Linux worlock 2.6.13-gentoo-r3 #2 SMP Wed Oct 12 11:48:23 EDT 2005 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux
I'm running a Gentoo Linux system. Net::Jabber and Net::XMPP were installed from the package management system (Portage).