[cgiapp] Persistent $app object in mod_perl

2005-01-20 Thread C. Chad Wallace
Hello, I'm thinking of using CGI::Application in a new project with mod_perl, and I know the two work together quite well... But I've only seen it done where the application object is instantiated and run at the same time from within the handler. This isn't the most efficient way to do it whe

Re: [cgiapp] load_tmpl question/suggestion

2005-01-20 Thread Thilo Planz
This should work ok with H::T. But, the only way I can make it work with C::A is if I write my own load_tmpl method to distinguish between the first load from file and second load from scalar. If C::A used H::T's "->new" method, the source of the template could be passed as a parm on load_tmpl (

[cgiapp] load_tmpl question/suggestion

2005-01-20 Thread Mark Fuller
I've been working on how to perform 2-phase processing of a template. This involves 1) initializing the template with page-specific language-specific evaluation, 2) output that template to a scalar, 3) regex my munged tmpl_var tags so they will now be recognizeable, 4) load this template (from scal

Re: [cgiapp] [ANNOUNCE] CGI::Application::Plugin::LogDispatch - 0.03

2005-01-20 Thread Cees Hek
On Thu, 20 Jan 2005 11:48:24 -0500, Sean Davis <[EMAIL PROTECTED]> wrote: > Very nice, at least at the level of the description. Creating a > singleton object is quite a nice touch. Seems like some selected other > plugins could use the same idea? Yes. This release is in preparation for an upda

Re: [cgiapp] [ANNOUNCE] CGI::Application::Plugin::LogDispatch - 0.03

2005-01-20 Thread Sean Davis
Cees, Very nice, at least at the level of the description. Creating a singleton object is quite a nice touch. Seems like some selected other plugins could use the same idea? Sean On Jan 20, 2005, at 11:36 AM, Cees Hek wrote: A new version of CGI::Application::Plugin::LogDispatch has been upl

[cgiapp] [ANNOUNCE] CGI::Application::Plugin::LogDispatch - 0.03

2005-01-20 Thread Cees Hek
A new version of CGI::Application::Plugin::LogDispatch has been uploaded to CPAN. It should hit the mirrors later today. For those that are impatient, you can download it or browse the distribution from the links listed below. This version adds support for storing the Log::Dispatch object as a s