Comment : TODO: use XML::XPath..
(the response is messy, if you can make a fix patch, email to me.)
NAME
WWW::Weather::Yahoo - Gets information from yahoo weather.
SYNOPSIS
use WWW::Weather::Yahoo;
my $yw = WWW::Weather::Yahoo->new( 'São Paulo, SP', 'c' );
print $yw->{ _weather }{ unit_temperature };
print $yw->{ _weather }{ location_country };
print Dumper $yw; # for full list of parameters given by yahoo weather.
DESCRIPTION
Looking for some weather news ?
Well, suit yourself with WWW::Weather::Yahoo.
The purpose of W:W:Y is to bring you all about the weather on any city.
If it works for you, great! If you have bugs, patches, improvements...@emailme
If you can, create and send me the XPath version of this module.
USAGE
use WWW::Weather::Yahoo;
my $yw = WWW::Weather::Yahoo->new( 'São Paulo, SP' , 'c' ); # c = celsius
my $yw = WWW::Weather::Yahoo->new( 'Miami, FL' , 'f' ); # f = farenheit
print $yw->{ _weather }{ unit_temperature };
print $yw->{ _weather }{ location_country };
print Dumper $yw; # for full list of parameters given by yahoo weather.
BUGS
@emailme
SUPPORT
@emailme
AUTHOR
Hernan Lopes
CPAN ID: HERNAN
HERNAN
hernanlopes@gmail.com
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
perl(1).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 170:
Non-ASCII character seen before =encoding in ''São'. Assuming UTF-8