A Perl module exists in order to interface with the Google Maps API. The code is as follows:
use Geo::Coder::Google;
$geocoder = Geo::Coder::Google->new();
@location = $geocoder->geocode(location => '1600 Pennsylvania Ave. Washington DC USA');
Site Source: http://search.cpan.org/~arcanez/Geo-Coder-Google-0.11/lib/Geo/Coder/Google/V2.pm
However I need to go from coordinates to address. How is that done even if that means using a different means in PERL? Please be advised that I tried the OpenMaps API and it is inaccurate. Google Maps seems to be much better.
Answer:
Geo::Coder::Googleobject.sub reverseGeocode {my $self = shift;Then just use it like this:
Then you can access returning object like so:
To see the detailed parts of the address see the following link as a guide:
https://developers.google.com/maps/documentation/geocoding/