Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Loading a Local XML File

by Jenda (Abbot)
on Sep 12, 2019 at 15:02 UTC ( #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
Node Status?
node history
Node Type: note [id://11106070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2019-12-13 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?