ckage Geo::What3Words;
$Geo::What3Words::VERSION = '3.0.3';
use strict;
use warnings;
use Cpanel::JSON::XS;
use Data::Dumper;
$Data::Dumper::Sortkeys = 1;
use Encode qw( decode_utf8 );
use HTTP::Tiny;
hashref is_coderef );
use URI;
# DO NOT TRY TO USE URI::XS IT JUST LEADS TO PROBLEMS
my $JSONXS = Cpanel::JSON::XS->new->allow_nonref(1);
sub new {
my ($class, %params) = @_;
my $self =
;
my $rh_fields = {
#a => 1,
key => $self->{key},
format => 'json',
%$rh_params
};
foreach my $key (keys %$rh_fields) {
delete $rh_fields-