I'd also like to plug my own code, as I show four different methods of varying accuracys for finding the distance between two sets of coordinates (including Math::Trig), as well as providing some useful off site links.
C-.
Comment on Re: Distance Between Geographical Coordinates