in reply to CGI Question
Well, that will print "cgi-bin/test.pl" to STDOUT but I guess that's not what you want it to do.
What exactly is it your trying to do with 'test.pl' - capture it's output, just execute it, or something else?