Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Hash Keys (strings or numbers?)

by Artemus (Novice)
on Mar 02, 2012 at 07:46 UTC ( #957399=note: print w/ replies, xml ) Need Help??


in reply to Hash Keys (strings or numbers?)

Unfortunately, none of the examples converts $key1 into a number so that $hash1{int($key1)} eq $hash1{int($key2)}, when $key1 == $key2.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-06-30 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (393 votes). Check out past polls.