Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas?#!/usr/bin/perl -T use Geo::Coder::Google; use CGI::Carp qw (fatalsToBrowser); use Data::Dumper; my $ua = LWP::UserAgent->new(agent => "Geo::Coder::Google/0.01"); my $APIKEY='Google_key_for_my_server_ip_addr'; my $geocoder = Geo::Coder::Google->new(apikey => $APIKEY ,ua => $ua) +; my $location = $geocoder->geocode( location => 'Hollywood and Highla +nd, Los Angeles, CA' ); print Dumper($location);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Geo::Coder::Google running as cgi
by Anonymous Monk on Sep 14, 2008 at 09:59 UTC | |
by Anonymous Monk on Sep 14, 2008 at 10:25 UTC | |
by Anonymous Monk on Sep 14, 2008 at 10:38 UTC | |
by Anonymous Monk on Sep 14, 2008 at 10:59 UTC | |
by jethro (Monsignor) on Sep 14, 2008 at 11:15 UTC | |
| |
|
Re: Geo::Coder::Google running as cgi
by oko1 (Deacon) on Sep 14, 2008 at 23:18 UTC | |
|
Re: Geo::Coder::Google running as cgi
by ikegami (Patriarch) on Sep 14, 2008 at 23:32 UTC | |
by jethro (Monsignor) on Sep 15, 2008 at 11:31 UTC |