Another alternative to get text-based info is to use Weather::Simple. Here is an example that uses Weather::Simple for Tupper Lake, NY. It returns a hash that has all the info you need.
#!/usr/bin/perl
use Data::Dumper;
use Weather::Simple;
# define parameters for weather search
my %params = (
'cache' => '/tmp/weathercache',
'partner_id' => 'somepartnerid',
'license' => '12345678',
'place' => 'Tupper Lake, NY',
);
# instantiate a new weather.com object
my $simple_weather = Weather::Simple->new(%params);
my $weather = $simple_weather->get_weather();
print Dumper($weather);
Update: Fixed a comment in the code above that would prevent it from retrieving the Tupper Lake weather.