#!/usr/bin/perl -w use strict; use CGI ':standard'; my $target = "http://www.mysite.com/cgi-bin/cd.pl"; print "Location: $target\n\n";