Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: hash key confusion

by Kenosis (Priest)
on Mar 24, 2014 at 20:40 UTC ( #1079592=note: print w/replies, xml ) Need Help??


in reply to hash key confusion

Try:

print $hash{chr 97};

$hash{"\x61"} = 'a'; creates the key a with an associated value of a.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-09-28 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?