Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Finding distance between cities or countries Perl module

by Khen1950fx (Canon)
on Aug 16, 2012 at 12:18 UTC ( #987744=note: print w/ replies, xml ) Need Help??


in reply to Finding distance between cities or countries Perl module

See: Geo::Distance::XS.

#!/usr/bin/perl use strict; use autodie; use warnings; use Geo::Distance::XS; my $geo = Geo::Distance->new; my $distance = $geo->distance(mile => $lon1, $lat1 => $lon2, $lat2); print $distance;


Comment on Re: Finding distance between cities or countries Perl module
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-07-24 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls