in reply to CGI Question

Or if you want the output of that program to be in $prog_test try a

$prog_test = `perl cgi-bin/test.pl`;

You my need to modify the path to the script though.