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

Re^3: Lookup closest hash key

by choroba (Archbishop)
on Oct 09, 2014 at 07:17 UTC ( #1103261=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $answer = ( sort { abs( $a - $dist ) <=> abs( $b - $dist ) } keys %
    +$href )[0];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2021-01-17 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?