[htmltmpl] H::Template and CGI::Application
Brought to you by:
samtregar
From: Thilo P. <thi...@we...> - 2004-10-15 03:45:33
|
Hi, > I've been using HTML::Template for a while, but am having a weird > problem when > using it in a CGI::Application app. Basically, when I call > $template->output, the application requests the page from the server > twice, > instead of once if I just create and return my own HMTL. Not sure what is happing here, but can you try the following: a) run it under plain CGI (not mod_perl) does it have the same problem? b) instead of return $tmpl->output; do $tmpl->output; return "no output" does it print "no output" now or the template + "no output"? Thilo |