Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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: $!";


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 chilling in the Monastery: (6)
As of 2014-12-28 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls