in reply to Re: Simple question about CGI/Perl and html redirection
in thread Simple question about CGI/Perl and html redirection

print "Location:$url\n\n";
By standards, there must be a space after the colon. If you fail to do that, the server or browser must error-correct your code, and that may not always happen consistently.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Simple question about CGI/Perl and html redirection
by arturo (Vicar) on Mar 27, 2001 at 21:25 UTC

    Sigh. yep. Not having to remember little things like that is a good argument for using CGI::redirect($url), IMO.

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor