[htmltmpl] Re: H::Template and CGI::Application
Brought to you by:
samtregar
From: Mark S. <ma...@su...> - 2004-10-17 00:25:53
|
On 2004-10-14, Daniel Axtell <dan...@sn...> wrote: > Hello, > > 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. What do you mean by "the application requests the page from the server twice". Isn't the application /on/ the server? Do you mean the run mode is getting called twice? What are you monitoring to know that something is happening twice? This is indeed a strange issue, which doesn't immediately seem like a problem in H::T or the 3 CGI::App systems you tried. I would double check your application logic. If it still seems buggish, post a reduced case of the troublesome code, along with notes about how you able to see the duplicate request. Mark -- http://mark.stosberg.com/ |