warnings-are-a-ticking-time-bomb.html
use warnings NONFATAL => 'all';
use Carp ();
use URI;
use JSON;
use HTTP::Headers;
use LWP::UserAgent;
use LWP::Protocol::https;
use URI::QueryParam;
has 'api_
', is => 'ro', default => sub { 'https://www.dogeapi.com/wow/' };
has 'json', is => 'ro', default => sub {
my $j = JSON->new; $j->allow_nonref; $j
};
has 'ua', is => 'ro', default =>
sub {
my $headers = HTTP::Headers->new;
$headers->header( 'Content-Type' => 'application/json' );
LWP::UserAgent->new(
ssl_opts => { verify_hostname => 1 },
default_