print &CGI::start_html;
を使うと、
<link rel="shortcut icon" href="/hoge/favicon.ico">
が埋め込むことができない。
CGI.pmを覗いてみる限りでは、
#### Method: start_html # Canned HTML header # # Parameters: # $title -> (optional) The title for this HTML document (-title) # $author -> (optional) e-mail address of the author (-author) # $base -> (optional) if set to true, will enter the BASE address of this document # for resolving relative references (-base) # $xbase -> (optional) alternative base at some remote location (-xbase) # $target -> (optional) target window to load all links into (-target) # $script -> (option) Javascript code (-script) # $no_script -> (option) Javascript <noscript> tag (-noscript) # $meta -> (optional) Meta information tags # $head -> (optional) any other elements you'd like to incorporate into the <head> tag # (a scalar or array ref) # $style -> (optional) reference to an external style sheet # @other -> (optional) any other named parameters you'd like to incorporate into # the <body> tag. ####
となっていて、faviconの指定に該当するパラメータは無さそう。
faviconを使うにはCGI::start_htmlの使用を断念するしかないのだろうか。