Sabacthani has asked for the wisdom of the Perl Monks concerning the following question:
It really does work if I type "perl -w" at the command line and then paste it in... What silly mistake am I making this time?print "The current temperature is $current->{temp} degrees\n";
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I'm confused... using Geo::Weather
by Aighearach (Initiate) on Jun 25, 2001 at 22:06 UTC | |
by Sabacthani (Novice) on Jun 25, 2001 at 23:15 UTC | |
by BigJoe (Curate) on Jun 26, 2001 at 00:06 UTC | |
by Aighearach (Initiate) on Jun 26, 2001 at 00:36 UTC | |
by damian1301 (Curate) on Jun 26, 2001 at 00:43 UTC | |
|
Re: I'm confused... using Geo::Weather
by bikeNomad (Priest) on Jun 25, 2001 at 21:59 UTC | |
by Sabacthani (Novice) on Jun 25, 2001 at 23:43 UTC |