Re: [htmltmpl] H::Template and CGI::Application
Brought to you by:
samtregar
From: Daniel A. <dan...@sn...> - 2004-10-15 13:05:27
|
> a) run it under plain CGI (not mod_perl) > does it have the same problem? Yes. > > b) instead of > return $tmpl->output; > do > > $tmpl->output; > return "no output" > > does it print "no output" now or the template + "no output"? In both mod_perl and CGI, it prints "no output" only. However, in both environments it's only bringing up the page once, not twice, the way it does when I do "return $tmpl->output" or "$self->page = $tmpl->output". There's nothing in the HTML to force a refresh, and I'm not sending back an extra header that I can see. Very strange. |