Hello!
First of all, excuse me for posting this question here. But I think that
HTML::Template is strongly related to CGI::Application. So here it is. I
have these 2 templates: h2.tmpl and signup.tmpl. h2.tmpl:
table border=0
trtdTMPL_INCLUDE NAME=menu.tmpl/td
td valign=top
TMPL_IF NAME=FORGET
Looking at the CGI::Application code, it appears that a debugging
mechanism already in place may be of use to you:
# Send output to browser (unless we're in serious debug mode!)
unless ($ENV{CGI_APP_RETURN_ONLY}) {
print $output;
}
# clean up operations
Folks
Homework:
I've read the mail archives, eg:
http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg00108.html
http://www.mail-archive.com/cgiapp@lists.vm.com/msg00486.html
on making my CGI::App code a mod_perl handler.
Q:
Has anyone combined using a handler and using authentication?
I've
Hi,
In order for this to work I
need to prevent the CGI::header
from printing automatically.
What's the best way to do this?
You could overload run(), set the env variable, call SUPER::run() and
grab the output, filter it, or delay printing for stdout for later.
Note that this is the