From the documentation, which merlyn was kind enough to point to:
$h->header('Content-Type' => 'text/plain'); # set $ct = $h->header('Content-Type'); # get $h->remove_header('Content-Type'); # delete
So, if you're trying to set the referrer to 'foo', you probably want the following:
$header -> header( 'Referer' => 'foo' );In reply to Re^3: HTTP referer
by jhourcle
in thread HTTP referer
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |