Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XML Parser and certain nodes to a hash

by marto (Chancellor)
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: $!";


Comment on Re: XML Parser and certain nodes to a hash
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2014-11-24 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (143 votes), past polls