Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Geo::Weather

by damian1301 (Curate)
on Jan 29, 2001 at 03:14 UTC ( #54917=modulereview: print w/replies, xml ) Need Help??

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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://54917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2019-05-27 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (155 votes). Check out past polls.

    Notices?