Subject: | XML::SAX as preferred parser |
With perl 5.8.0 on Linux RH9, if I type:
perl -e 'use XML::Simple; use Data::Dumper; $XML::Simple::PREFERRED_PARSER = 'XML::SAX' ; $xml = q{<?xml version="1.0" encoding="ISO-8859-1"?><opt><action>actiontest</action><params><foo>bar</foo></params></opt>}; print Dumper(XMLin($xml, keyattr => [], suppressempty => undef));'
I obtain:
Can't locate object method "new" via package "XML::SAX" at /usr/lib/perl5/site_perl/5.8.0/XML/SAX/ParserFactory.pm line 43.
Regards