Adding upon what others said before:
USE CGI.pm
Doing so enables you to quickly issue a redirection header by :
print $cgiObject->redirect($targetUrl);
But CGI.pm does also allow to be used as a library of functions also. So you might want to read the docs :-)
Regarding a redirection header your print statement should look alike:
print "Status: 302 Moved\nLocation: http://www.mscorp.org:3380/connect
+.asp?Server=www.mscorp.org&rW=640&rH=480&\n\n";
Have a nice day
All decision is left to your taste