BaldPenguin has asked for the wisdom of the Perl Monks concerning the following question:
and this script:<?xml version ="1.0"?> <config> <version>0.1</version> <application> <hostname>testme.com</hostname> <user>monk</user> <password>pass</password> </application> </config>
I can repro the error. If I remove the 'Component::Jabber::Client::XMPP' part, the XML parses, but then my bot wouldn't work.use POE::Preprocessor; const XNode POE::Filter::XML::Node use strict; use warnings; use POE qw/ Component::Jabber::Client::XMPP Component::Jabber::Error / +; use POE::Filter::XML::Node; use POE::Filter::XML::NS qw/ :JABBER :IQ /; use List::Util qw/ shuffle /; use XML::Simple; my $config = XMLin('test.xml'); use Data::Dumper(); warn Data::Dumper::Dumper( $config ); exit(0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Jabber XMPP and XML::Simple conflict
by bmann (Priest) on Aug 17, 2005 at 19:08 UTC | |
by BaldPenguin (Friar) on Aug 17, 2005 at 19:16 UTC | |
by grantm (Parson) on Aug 19, 2005 at 23:07 UTC |