Hi Jon,
this sounds like a job for LWP.
e.g.

  use LWP::UserAgent;
  $ua = LWP::UserAgent->new;
  my $req = HTTP::Request->new(POST =>
'http://www.perl.com/cgi-bin/BugGlimpse');
  $req->content_type('application/x-www-form-urlencoded');
  $req->content('match=www&errors=0');
  my $res = $ua->request($req);
  print $res->as_string;


joel



-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]]
Sent: 07 July 2002 17:38
To: [EMAIL PROTECTED]
Subject: CGI to emulate HTML <form> Post


I would like my CGI to send info to a different CGI, that is really
expecting a html <form> to post to it the info.

How do I do that?

Jonathan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to