$request->header('Accept'=> 'text/html','Type' => 'text/html','remote_addr'=>'123.456');
print $q->header(-Type=>'text/html',-Accept=>'text/html',-remote_addr=>'123.456.789');#under $q use CGI of course
tried remote_addr, Addr, and REMOTE_ADDR on above