Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Geo::Weather

by damian1301 (Curate)
on Jan 29, 2001 at 03:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: modulereview [id://54917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found