|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Loading a Local XML Fileby Jenda (Abbot) |
| on Sep 12, 2019 at 15:02 UTC ( [id://11106070]=note: print w/replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||