in reply to Have CGI call script, display status in browser
Sounds like you've got a misunderstanding.
Point the form you are submitting to the cgi script you want to run. E.g. <form action='foobar.cgi' method='post'>
Then make the script parse the form inputs and print out an HTML page. E.g.
#!/usr/bin/perl -w # this is foobar.cgi use strict; # untested use CGI; my $cgi = new CGI; print $cgi->header, $cgi->start_html; print "You entered " . $cgi->param('form_input_name') . "<br>"; print $cgi->end_html; exit;
No need to use system. dave hj~
In Section
Seekers of Perl Wisdom