|Welcome to the Monastery|
How do I redirect to another page?by faq_monk (Initiate)
|on Oct 08, 1999 at 00:32 UTC||Need Help??|
Current Perl documentation can be found at perldoc.perl.org.
Here is our local, out-dated (pre-5.6) version:
Instead of sending back a
Location: http://www.domain.com/newpage URI: http://www.domain.com/newpage
Note that relative URLs in these headers can cause strange effects because of ``optimizations'' that servers do.
$url = "http://www.perl.com/CPAN/"; print "Location: $url\n\n"; exit;
To be correct to the spec, each of those