Hi list, I'm trying to use XML::Simple in a plugin, but when I do, I get a fatal error.
A test plugin like this: #!/usr/bin/perl -w use strict; use XML::Simple; sub hook_xmlresponse { my ($self, $processor, $hd) = @_; my $fh; open($fh, '/mmt/hgfs/VDMS/test.pl'); my $meta = XMLin($fh); close($fh); return DECLINED; } produces an error like: 10.0.16.50:1235 L3 FATAL PLUGIN ERROR: Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserFactory.pm line 43. How come? Regards, Lars -- Lars Skjærlund Consultant Ubiquitech A/S Lyngby Hovedgade 4,3 2800 Kgs. Lyngby Denmark Tel: +4570200084 Mobile: +4523457157 http://www.ubiquitech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]