Yes, you need the Perl Geo/Distance package installed, I mentioned that in my original post, that's the code that actually converts pairs of latitude/longitude points into distances. Do a google search on something like
perl install geo/distance package, or go to this link;
Geo::Distance -...