Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: XML Bare Hash Reference.

by choroba (Abbot)
on Mar 19, 2013 at 20:36 UTC ( #1024385=note: print w/ replies, xml ) Need Help??


in reply to Re: XML Bare Hash Reference.
in thread XML Bare Hash Reference.

%$hash_ref and @$array_ref still work. It is @{%$hash_ref}{1,2} which does not work anymore, as it never should have worked. %$hash_ref is evaluated to a string like "1/8" which tells you how the hash uses its buckets. Then, @{"1/8"}{1,2} tries to interpret the string as a hash reference and fails. Without strict refs, you can create a hash called "1/8": ${"1/8"}{1} = "q"; print @{"1/8"}{1};

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^2: XML Bare Hash Reference.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (160 votes), past polls