Re: Fw: HTTP Requests

2002-12-28 Thread Wiggins d'Anconia
Interesting discussion, I was just trying, in a somewhat more civil manner than "RTFM", to merely point out that the original poster hadn't done his/her homework and used the help of looking in the docs that had already been offered. :-) http://danconia.org R. Joseph Newton wrote: HI Randal,

Re: Fw: HTTP Requests

2002-12-26 Thread R. Joseph Newton
HI Randal, Although not in the Perl culture, I have indeed seen a great deal of cargo cult thinking in my years, and I fully agree that such consciousness is a Very Bad Thing. On a quick skim of lwpcook, I would also tend to agree that this is a good source of first reference to those utilities

Re: Fw: HTTP Requests

2002-12-24 Thread Randal L. Schwartz
> "R" == R Joseph Newton <[EMAIL PROTECTED]> writes: R> Hi Randal, R> I must take issue with you here. And therefore, you misunderstood my purpose. You have not *seen* the amount of cargo-cult c**p that I've seen in advising people about Perl over 13 years. Maybe it's interesting to know ho

Re: Fw: HTTP Requests

2002-12-23 Thread R. Joseph Newton
Hi Randal, I must take issue with you here. Whatever the convenience of such utilities in a production environment, there is a definite advantage to the learning process in hand-coding. I learned something just from reading the example--that there was a specific MIME for httP posts. Whatever

Re: Fw: HTTP Requests

2002-12-22 Thread Randal L. Schwartz
> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes: Rob> It's not appropriate to correct anything but misleading advice. It's misleading to handcode application/x-www-form-urlencoded values when more proper higher-level functions are available, such as HTTP::Request::Common. I thought the URL w

Re: Fw: HTTP Requests

2002-12-21 Thread Wiggins d'Anconia
Randal L. Schwartz wrote: "Wiggins" == Wiggins D'Anconia <[EMAIL PROTECTED]> writes: Wiggins> Right. And that is what the LWP module is for. From the docs on the Wiggins> first URL I posted earlier: Wiggins># Create a request Wiggins>my $req = HTTP::Request->new(POST => Wiggins> 'http

Re: Fw: HTTP Requests

2002-12-21 Thread Rob Dixon
Randal There's nothing wrong with Wiggins' advice. Take a look at "the first URL [he] posted earlier" and you'll find nothing about the HTTP::Request::Common module at all. In fact I can't find anywhere it tells you not to use the constructor directly - the nearest I've come across is in the POD f

Re: Fw: HTTP Requests

2002-12-21 Thread Randal L. Schwartz
> "Wiggins" == Wiggins D'Anconia <[EMAIL PROTECTED]> writes: Wiggins> Right. And that is what the LWP module is for. From the docs on the Wiggins> first URL I posted earlier: Wiggins># Create a request Wiggins>my $req = HTTP::Request->new(POST => Wiggins> 'http://www.perl.com/cgi-bin/

Re: Fw: HTTP Requests

2002-12-21 Thread Wiggins d'Anconia
Right. And that is what the LWP module is for. From the docs on the first URL I posted earlier: An Example This example shows how the user agent, a request and a response are represented in actual perl code: # Create a user agent object use LWP::UserAgent; $ua = LWP::UserAgent->new; $

Fw: HTTP Requests

2002-12-21 Thread LRMK
What I want is when a visitor came and post something to my cgi script that script must post some of that information to another cgi script on another web server get the results and send back to the visitor how do I do that? > - Original Message - > From: "Wiggins d'Anconia" <[EMAIL PROTECT