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 examining the Monastery: (5)
As of 2015-08-04 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (59 votes), past polls