Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Creating a hash out of multiple XML attributes in an elment

by Jenda (Abbot)
on Jul 15, 2013 at 15:03 UTC ( #1044411=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Creating a hash out of multiple XML attributes in an elment
in thread Creating a hash out of multiple XML attributes in an elment

$key2value{"a"} and $key2value->{"a"} are two different and absolutely unrelated things. The first attempts to get the value of the key "a" in hash %key2value, the other in the hash referenced by the scalar variable $key2value. Two different variables, no surprise that you do not find anything in one after you wrote to the other.

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re^5: Creating a hash out of multiple XML attributes in an elment
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-09-18 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (101 votes), past polls