[cgiapp] HTML::Template problem

2002-11-26 Thread Stelian Iancu
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

Re: [cgiapp] Preventing _send_header from running

2002-11-26 Thread A.M.
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

[cgiapp] mod_perl and authorization

2002-11-26 Thread Ron Savage
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

Re: [cgiapp] Preventing _send_header from running

2002-11-26 Thread Thilo Planz
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