and it ran fine. 80 degrees. If you leave out the first line altogether, it will probably try to run it with /bin/sh, which gives odd errors when it sees Perl...#!/usr/bin/perl -w use strict; use Geo::Weather; my $weather = new Geo::Weather; my $current = $weather->get_weather('19067'); print "The current temperature is $current->{temp} degrees\n";
In reply to Re: I'm confused... using Geo::Weather
by Aighearach
in thread I'm confused... using Geo::Weather
by Sabacthani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |