in reply to Re: I'm confused... using Geo::Weather
in thread I'm confused... using Geo::Weather

No, I must've missed the first line when I pasted... regardless, when I cut-and-pasted your code (with the #!, and yes, /usr/bin/perl is the correct path on my system...) I still get that infernal error!
Also, if I use $weather->report(); instead, I get an error from the perl module itself... The same hash ref error.

Thank you for your time,
Benjamin
  • Comment on Re: Re: I'm confused... using Geo::Weather

Replies are listed 'Best First'.
Re: Re: Re: I'm confused... using Geo::Weather
by BigJoe (Curate) on Jun 26, 2001 at 00:06 UTC
    I get the same error when I run the code on a Win32 system. Using the code on the Aighearach's reply.

    --BigJoe

    Learn patience, you must.
    Young PerlMonk, craves Not these things.
    Use the source Luke.
Re: Re: Re: I'm confused... using Geo::Weather
by Aighearach (Initiate) on Jun 26, 2001 at 00:36 UTC
    What is your perl version?
    --
    Snazzy tagline here
      When I first wrote about Geo::Weather it worked quite well, but now it seems it doesn't. When I ran the code in Aighearach's reply (which still has my zip code in it :) I ran it and it just went into World wide Wait. I don't know what's happened to it but it seems to have stopped working all together.

      $_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H; print chr($_-39); # Easy but its ok.