Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Zipcode Proximity script

by hacker (Priest)
on Mar 31, 2003 at 16:03 UTC ( #246967=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       ZIP_CODE ONGITUD ATITUD
       00210 71.0132 43.00589
    ...
       00214 71.0132 43.00589
       00215 71.0132 43.00589
       ...
    
  2. or download this
       00210,00210
       00210,00211
    ...
       00212,00210
       00210,00213
       ...
    
  3. or download this
       #define EARTH_RADIUS 3956
    
    ...
    
               return (distance);
       }
    
  4. or download this
       my $distance = sqrt(($x1-$x2)**2+($y1-$y2)**2);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://246967]
Approved by hardburn
Front-paged by tall_man
help
Chatterbox?
[james28909]: maybe rename it to 'query'
[james28909]: but then you have the others as well
[Lady_Aleena]: Renaming things like get_THAC0 to just THAC0 was easy. These are harder.
[james28909]: consolidate the three subs into one
[Lady_Aleena]: Um, what?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-05-24 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?