Sarah wrote:
"# I also didn't print a header this time either
print "location:http://www.google.com\n\n";"
The formal way to do this would be to use "URI:http://...".
location: is unoffical. CGI.pm uses both.
Not that you did this wrong but: You may get incorrect results if you use relative URLs, so always use the absolute http://host/path/file URL.
Cheers,
Steffen
Going by my ever handy copy of the HTTP/1.1 RFC, "Location: <absolute-uri>" is the correct way to do it; other options, such as "URI: <blah>" are not recommended, and support for these options would be hit or miss...