Re: [cgiapp] load_tmpl extension

2003-06-16 Thread Steve Comrie
Josh, I wasn't entirely suggesting otherwise. What I had in mind was something more along the lines of Mark's CGI::App::ValidateRM where a structure could be created to deal with templates in a more object-based manner. Solving your particular challenge may have more benefit short and long-term

[cgiapp] Re: load_tmpl extension

2003-06-16 Thread Mark Stosberg
In article [EMAIL PROTECTED], Josh Jore wrote: I'd like to add a bit of logic to the load_tmpl method so that if it is called without a template name it creates a name based on the current run mode. This removes another useless use of a constant and enables a really simple form for some

Re: [cgiapp] load_tmpl extension

2003-06-16 Thread Josh Jore
On Mon, 16 Jun 2003, Steve Comrie wrote: Josh, I wasn't entirely suggesting otherwise. What I had in mind was something more along the lines of Mark's CGI::App::ValidateRM where a structure could be created to deal with templates in a more object-based manner. Solving your particular

[cgiapp] cgiapp_prerun - not working for me ...

2003-06-16 Thread Irubin Consulting
Hello, I am trying to execute some code in the cgiapp_prerun subroutine, and it is not being executed. Here is the code: sub setup { my $self = shift; $self-start_mode('out'); $self-mode_param('action'); $self-run_modes( 'add_system'= \add_system,

[cgiapp] Re: cgiapp_prerun - not working for me ...

2003-06-16 Thread Mark Stosberg
In article [EMAIL PROTECTED], Irubin Consulting wrote: Hello, I am trying to execute some code in the cgiapp_prerun subroutine, and it is not being executed. Here is the code: sub setup { my $self = shift; $self-start_mode('out'); $self-mode_param('action');