Re: Novice - How would I add a hidden form field to a LWP::UserAgent call?

2002-10-31 Thread Robert Landrum
On Thu, Oct 31, 2002 at 10:28:32AM -0500, Chris Pizzo wrote: > Hi, > I'm trying to post data to a server that requires a hidden form field. > > This is what I'm doing: > my $content = "info=somedata"; > my $rec_len = length($content); > my $send_url = new URI::URL($url); > my $hdrsend = new HTTP::

Novice - How would I add a hidden form field to a LWP::UserAgent call?

2002-10-31 Thread Chris Pizzo
Hi, I'm trying to post data to a server that requires a hidden form field. This is what I'm doing: my $content = "info=somedata"; my $rec_len = length($content); my $send_url = new URI::URL($url); my $hdrsend = new HTTP::Headers('Content-length' => $rec_len); $hdrsend->header('Content-type' => 'te