Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
      use Geo::Weather;
    ...
      $weather->get_weather('Philadelphia','PA');
    
      print $weather->report();
    
  2. or download this
    <font size=+4>Philadelphia, Pennsylvania</font><br>
    <img src="http://image.weather.com/weather/wx_icons/PFMScurrent/28.gif
    +" border=0>
    ...
    <tr><td><b>Sunrise</b></td><td>7:14 am</td>
    <tr><td><b>Sunset</b></td><td>5:16 pm</td>
    </table>
    
  3. or download this
      use Geo::Weather;
    
    ...
      my $current = $weather->get_weather('19067');
    
      print "The current temperature is $current->{temp} degrees\n";
    
  4. or download this
    The current temperature is 35 degrees