in reply to CGI Question

I'm guessing you're trying to capture the output of one program and print it. you can do it with backticks:
$output=`cgi-bin/test.pl`;
which will capture the STDOUT of the test.pl, and put it in the variable $output. Another option is to use system:
system("cgi-bin/test.pl");
which will run the program, passing it the current processe's STDOUT and STDERR.

-- Dan