I have two CGI's, and I wish to simply pass control to a second CGI from the first.
I don't want to use functions in the second CGI, I wish to say something like
if ( yada yada)
{
do this and this and this;
} else{
go do the second CGI;
}
The second CGI produces a webpage output. So in the first I produce web output, unless something goes wrong, then I want the second CGI to produce its output instead.
I'm using perl to write the CGIs, but I don't know how to pass control around like this.
Can anyone help?
I don't want to use functions in the second CGI, I wish to say something like
if ( yada yada)
{
do this and this and this;
} else{
go do the second CGI;
}
The second CGI produces a webpage output. So in the first I produce web output, unless something goes wrong, then I want the second CGI to produce its output instead.
I'm using perl to write the CGIs, but I don't know how to pass control around like this.
Can anyone help?