Johann Tagle wrote:
Thomas Bätzler wrote:
Have a look at LWP and in particular LWP::UserAgent - you could
use the post() method to submit your parameters to the other CGI
program. As an added bonus, you can examine the result of the
operation and report success or failure to your users.

Thanks but I have a new problem resulting from this -> I need the output of the other CGI program to be seen by my users. The other CGI program is not ours so I cannot modify its functionality.

Then not just check for success or failure, but retrieve the output from the other program.

This is what is supposed to happen:
1.  User sends data to my script using an html form
2.  My script (the one I want to modify) processes data, then calls
a 3rd-party script
3.  3rd-party script processes data, then calls another local
script of mine.

*Another* local script? You shouldn't overdo it. ;-) Just let the first script retrieve the output from the 3rd-party script by help of LWP::UserAgent, and have it display it.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to