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 having an uproarious good time at the Monastery: (3)
As of 2023-02-05 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (32 votes). Check out past polls.

    Notices?