Help for this page

Select Code to Download


  1. or download this
    # call NDFgenByDay to retrieve the xml forecast data
            print "\n\nCalling NDFgenByDay to retrieve XML forecast data f
    +or ", $location[$i], " ... ";
    ...
                    =>SOAP::Data->type(string=>$format)->name('format')
            );
            print "done.\n";
    
  2. or download this
    my $xml = $filePath . 'Forecast_' . $location[$i] . '.xml';
    open(OUT, '>' . $xml);
    print OUT $response->result;
    close(OUT);
    
  3. or download this
    $weatherIconURL = $data->{'data'}->{'parameters'}->{'conditions-icon'}
    +->{'icon-link'}->[0];