in reply to Calling a CGI script from a CGI script (was: CGI)

To me, at least, your problem seems a bit confusing :)

But, uhhhh... this isn't what you want is it:

open FH, "/path/to/secondscript.cgi|"; # note the pipe! print join '', <FH>; close FH;

--nutshell