XML::Simple not finding parse method
Posted on 2006-11-21
Just upgraded to Perl 5.8.8. XML::SImple used to parse my file of XML data with no problem. Now get this error,
my $xml_parser = new XML::Simple;
$out = $xml_parser->XMLin($xml_file_name);
No _parse_* routine defined on this driver (If it is a filter, remember to set the Parent property. If you call the parse() method, make sure to set a Source. You may want to call parse_uri, parse_string or parse_file instead.) [XML::SAX::Expat=HASH(0x826ea44)] at /usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/Base.pm line 2616.
The default parser, XML::SAX::Expat is installed and tested ok.