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

Re: need help with xml parser

by sauoq (Abbot)
on May 22, 2012 at 17:01 UTC ( #971832=note: print w/ replies, xml ) Need Help??


in reply to need help with xml parser

It's impossible to debug your problem from the info given. You should double check the contents of $name. It is fine to do what you say you are doing, as this will show:

$ perl -le '$h = {foo => "bar"}; $k = "foo"; print "$h->{$k}";' bar

-sauoq
"My two cents aren't worth a dime.";


Comment on Re: need help with xml parser
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2013-06-19 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (654 votes), past polls