in reply to CGI redirect
my $cookie = $query->cookie(-name=>'foo',-value=>'bar',-domain=>'mydom +ain.com'); print $query->header(-type=>'text/html',-cookie=>$cookie); [download]