in reply to CGI Question

here another guess: perhaps you want to get the output of "cgi-bin/test.pl" as if a user pressed a submit button? then check out this tuturial on lwp::simple.