in reply to Passing POST parameters
I'm not going to write out an entire POST application w/o using modules... sorry. The basic idea is that you want to open up a socket (using socket) to the remote host, send the request headers, then send the content of the request. Then you read back the response. perlipc has some examples of using sockets to read from and write to tcp/ip servers. You'll also want to read the HTTP specification.
Personally, I think you'd be better off figuring out why LWP doesn't work for you than completely rewriting it. It's not that I'm against learning for learning's sake-- I agree with japhy's comment that you should know how a module works, and understand it, before you actually use it--but I don't think that you should actually *rewrite* a standard module.
If you can post specific problems about why "modules never work for you", I'd be happy to try and offer some suggestions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Passing POST parameters
by chromatic (Archbishop) on Apr 04, 2000 at 07:27 UTC | |
by btrott (Parson) on Apr 04, 2000 at 07:42 UTC | |
by btrott (Parson) on Apr 04, 2000 at 07:50 UTC | |
|
RE: Re: Passing POST parameters
by btrott (Parson) on Apr 04, 2000 at 09:37 UTC | |
by Anonymous Monk on Jul 24, 2001 at 17:46 UTC | |
by Indira (Initiate) on Apr 30, 2001 at 15:42 UTC |