Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Loading a Local XML File

by Jenda (Abbot)
on Sep 12, 2019 at 15:02 UTC ( [id://11106070]=note: print w/replies, xml ) Need Help??


in reply to Loading a Local XML File

You are passing a filehandle to a method that expects a path so the filehandle object ends up stringified and the module attempts to read from a file named "IO::File=GLOB(0x20569a8)".

XML::Parser is too low-level for almost anything. Unless you are writing another XML handling module, you ought to use something with a more convenient API. XML::Rules, XML::Twig or (iff you are used to those kinds of technlogies from other languages) XML::LibXML.

Jenda
1984 was supposed to be a warning,
not a manual!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2025-12-07 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (86 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.