in reply to weather without UserAgent.pm ?

Well, of course. HTTP is quite a simple protocol, so it shouldn't be too hard. Just create a socket, write your request on the socket, read the response, and close the socket. After reading the response, split the response into a headers part and a payload. Check the headers to see if you got a proper response, and then off your go with the payload.

Abigail

Replies are listed 'Best First'.
Re: Re: weather without UserAgent.pm ?
by Anonymous Monk on Feb 12, 2004 at 03:02 UTC
    Hello Abigail, Thanks for your reply to my question. Would you be able to give some more details to your response, perhaps an example? I am just too much of a novice. You may think I shouldn't touch those things in the first place, which may be right, but it would be nice to get this script going again.
      Would you be able to give some more details to your response, perhaps an example? I am just too much of a novice.
      Eh, no, I will not. It's going to take me too much time. If you want to handicap your coding by excluding the use of modules, than that's fine. But don't come and ask me to do the work for you.

      Abigail

        Hello Abigail, Thanks for your 2nd response, which is fair enough by the way. I have managed to get my webhost to install the module, but now when trying to use it, it won't work. Changed permissions to every combination. Could there be anything wrong with the script, in your opinion? Thanks again for your responses. PS I don't like to be a freeloader, but really appreciate your help so far! pip