Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

RE: OPPS - Grab weather from yahoo (2)

by Adam (Vicar)
on May 24, 2000 at 20:55 UTC ( #14601=note: print w/replies, xml ) Need Help??

in reply to OPPS - Grab weather from yahoo (2)

This worked really well the first time. Then I ran it again with a different zip code and it crashed thusly:
IO::Socket::INET: Bad peer address at D:\FileBin\ line 36
Bad file descriptor at D:\FileBin\ line 36.
Line 36 is this one:$remote = new IO::Socket::INET ((I think)

Replies are listed 'Best First'.
RE: RE: OPPS - Grab weather from yahoo (2)
by scribe (Initiate) on May 25, 2000 at 02:48 UTC
    I believe this is caused when yahoo splits that
    zipcode / city up into differnt weather reports or
    the city is found in multiple states.

    On yahoo's site it lists options of differnt locations
    in such instances and the users is expected to drill down
    by clicking one of the links.

    I've added an if statement to make it quit nicely.
    Maybe I'll reqrite it using one of the modules KM has
    pointed out.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://14601]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2018-05-20 19:51 GMT
Find Nodes?
    Voting Booth?