Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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 cooling their heels in the Monastery: (8)
As of 2021-03-04 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (107 votes). Check out past polls.

    Notices?