Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29539

Perl can't locate object method "query_form" via package "URI::_foreign" at Geo::Coder::Google::V3.pm

$
0
0

I understand this question has been asked in different forms before.

Here is the line in Google::V3.pm:

use lib '/var/www/cgi-bin/lib';use Carp;use Encode;use JSON;use HTTP::Request;use LWP::UserAgent;use URI;...my $uri = URI->new("http://$self->{host}/maps/api/geocode/json");my %query_parameters = ($loc_param => $location);...my $components_params = $self->_get_components_query_params;$query_parameters{components} = $components_params if defined $components_params;$uri->query_form(%query_parameters);my $url = $uri->as_string;

Here's the code from URI::_foreign.pm:

package URI::_foreign;require URI::_generic;@ISA=qw(URI::_generic);1;

How can I resolve this?


Viewing all articles
Browse latest Browse all 29539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>