Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: XML::Simple giving a non-specific error

by ikegami (Patriarch)
on Mar 12, 2010 at 01:07 UTC ( [id://828181]=note: print w/replies, xml ) Need Help??


in reply to Re^2: XML::Simple giving a non-specific error
in thread XML::Simple giving a non-specific error

I never said my code contained $XML::Simple::PREFERRED_PARSER = 'XML::Parser';

I realise it wasn't there explicitly, but by virtue of not setting it explicitly and having XML::Parser installed, it's as if you had.

Can't locate object method "new" via package "XML::SAX

Hum, weird. Did you also install XML-LibXML to provide XML::LibXML::SAX? It would be a bad failure mode if not having XML::LibXML::SAX is the cause of that error, but you never know.

( I see from your update that this was indeed the problem )

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://828181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found