Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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.


Comment on Re: Hash Keys (strings or numbers?)

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 browsing the Monastery: (6)
As of 2015-05-23 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (467 votes), past polls