package Geo::Coder::XYZ;
use strict;
use warnings;
use Carp;
use Encode;
use JSON::MaybeXS;
use HTTP::Request;
use LWP::UserAgent;
use LWP::Protocol::https;
use Params::Get;
use URI;
=head1 NAME
G
gland and New England
}
$location =~ s/\s/+/g;
my %query_parameters = ('locate' => $location, 'json' => 1);
if(wantarray) {
# moreinfo is needed to find alternatives when the given location is a
ned error: on $url ", $res->status_line());
return { };
}
my $json = JSON::MaybeXS->new()->utf8();
my $rc;
eval {
$rc = $json->decode($res->decoded_content());
};
if(!defined($rc)) {
if($