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