or you can do this:
print "Location: $filename\n\n";
just be sure that you haven't printed an HTML header yet.
Update: arturo was faster, and his post contains more info, please disregard
In reply to Re: Simple question about CGI/Perl and html redirection
by Chady
in thread Simple question about CGI/Perl and html redirection
by vonman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |