Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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)

Comment on RE: OPPS - Grab weather from yahoo (2)
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-04-27 14:10 GMT
Find Nodes?
    Voting Booth?

    Who makes your decisions?

    Results (505 votes), past polls