Menu

#2 Error on trying to run ./pcjbot.pl

v1.0_(example)
open
nobody
db (1)
5
2006-01-06
2006-01-06
Anonymous
No

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.

Discussion

  • Satya

    Satya - 2006-01-20

    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.

     
  • neonknight

    neonknight - 2007-03-31

    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';

     

Log in to post a comment.

MongoDB Logo MongoDB