diff options
Diffstat (limited to 'forecast.pl')
-rw-r--r-- | forecast.pl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/forecast.pl b/forecast.pl index fd47323..c8d6e58 100644 --- a/forecast.pl +++ b/forecast.pl @@ -12,12 +12,11 @@ my $fio = WebService::ForecastIo->new({ api_key => $key, }); -my ($response,$json) = $fio->request({ +my $json = $fio->request({ latitude => 51.54, longitude => -0.37, - exclude => ['minutely','flags'], + exclude => ['flags'], + raw => 1, }); say $json; - -p $response; |