in reply to XML::Simple -> XMLin() requires either XML::SAX or XML::Parser

I reinstalled Expat (again), perl-XML-Parser, perl-HTML-Parser, perl-Parse-Yapp... and it WORKED!

After some thinking and reading the comments everyone has posted, I realized after looking at my perl code again that I do not specify a Parser which means it will use the expat parser. So I reinstalled everything I could think of and one of them was corrupt, don't know exactly which one it was, but I'm guessing the perl-XML-Parser has a local library it installs besides the main expat library.

  • Comment on Re: XML::Simple -> XMLin() requires either XML::SAX or XML::Parser

Replies are listed 'Best First'.
Re^2: XML::Simple -> XMLin() requires either XML::SAX or XML::Parser
by Anonymous Monk on Mar 25, 2011 at 18:51 UTC
    just set LD_LIBRARY_PATH env variable to the path where libexpat is installed (/usr/local/lib) in your profile or bashrc, so that perl can find the library when needed.