# from Neta Ben-Porat
# on Monday 13 August 2007 04:54 am:

>I try to use pp to create an executable.
>When I tried 'pp -B -o Test Test.pl', an executable was created but
> when I've tried running it elsewhere I got the message: 'XMLin()
> requires either XML::SAX or XML::Parser at script/CorrectDNIXML.pl
> line 80' So I've tried using -M: 'pp -M XML::Parser -B -o Test
> Test.pl' but got the same results.

In your case, you're forcing XML::Parser, which (IIRC) means you'll need 
XML::Parser::Expat.  It could be that XML::Parser isn't getting 
packaged correctly (XML::Simple defers a lot of that until runtime.)

In dotReader, I'm explicitly using XML::SAX::Expat, but XML::SAX insists 
on checking for the ini file even though I've specified a parser.  So, 
I just redefine its methods to prevent that.

 http://svn.dotreader.com/svn/dotreader/trunk/lib/dtRdr/Book/OPF/Base.pm

Yeah, that should probably go in its RT.

--Eric
-- 
Hot dogs:  just another condiment.
--Heart-attack Man
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to