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

Re: XML Parser and certain nodes to a hash

by marto (Bishop)
on May 23, 2013 at 09:26 UTC ( #1034920=note: print w/replies, xml ) Need Help??


in reply to XML Parser and certain nodes to a hash

open (INPUT, "<:utf8", "w.xml") or die "Can't open";

You're not printing $! when attempting to open files, if you include it you'll find out why things fail:

open (INPUT, "<:utf8", "w.xml") or die "Can't open w.xml: $!";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034920]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-08-20 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (315 votes). Check out past polls.

    Notices?