in reply to redirect() vs location

I don't know what the problem is, use "Location: http://some.com\n\n".

It always works and you don't have to load CGI.pm... what's the problem?

The only thing I can think of is talked about in the CGI docs:

  One hint I can offer is that relative links may not work correctly when you
  generate a redirection to another document on your site.  This is due to a
  well-intentioned optimization that some servers use.  The solution to this
  is to use the full URL (including the http: part) of the document you are
  redirecting to.
--
Casey