http://www.perlmonks.org?node_id=316909


in reply to Re: Re: href = file doesnt work within script
in thread href = file doesnt work within script

$template->param()
Would lead me to believe that you are using HTML::Template. In which case, you DO need to print a content-type header to the browser.