|
From: SourceForge.net <no...@so...> - 2007-03-31 18:20:29
|
Bugs item #1398923, was opened at 2006-01-07 00:53 Message generated for change (Comment added) made by neonknight You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=705772&aid=1398923&group_id=126468 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: db Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Error on trying to run ./pcjbot.pl Initial Comment: Warning: Use of "shift" without parentheses is ambiguous at /usr/local/lib/perl5/site_perl/5.8.6/POE/Component/Jabber/Client/Legacy.pm line 320. The only thing I know how to parse is a string. You have to fetch the data for me yourself. at /usr/local/lib/perl5/site_perl/5.8.6/XML/Simple.pm line 287 BEGIN failed--compilation aborted at ./pcjbot.pl line 27. Not quite sure what this would be, tried varous things and it all points to the parsing of the XML file. ---------------------------------------------------------------------- Comment By: neonknight (neonknight) Date: 2007-03-31 20:20 Message: Logged In: YES user_id=1124071 Originator: NO The XML-parse error is a known incompatiblity, see http://www.perlmonks.org/?node_id=484495 You will have to add the following line to pcjbot.pl: $XML::Simple::PREFERRED_PARSER = 'XML::Parser'; ---------------------------------------------------------------------- Comment By: Satya (satyap) Date: 2006-01-20 19:27 Message: Logged In: YES user_id=1022771 Please show the conf file. It's also possible that your libraries or pcjbot itself is using something old, and should be upgraded. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=705772&aid=1398923&group_id=126468 |