[cgiapp] Tmpl_path Problem

2002-06-11 Thread Eric Moore
Hello, I am having a problem with the value for tmpl_path disappearing. Perhaps someone can explain the error of my ways. Here are the codes and the the error logs for a logon sequence. I set tmpl_path in cgiapp_init along with acquiring the cgi parameters and setting a benchmark

Re: [cgiapp] Subclassing form

2002-06-11 Thread Brian . T . Wightman
Why not just create an AUTOLOAD parameter, and return your header, desired application output, and footer from that function. For example (untested, buyer beware), $self-run_modes('AUTOLOAD' = 'header_body_footer'); sub header_body_footer { my ($self, $rm, @rest) = @_; ...

Re: [cgiapp] Tmpl_path Problem

2002-06-11 Thread Eric Moore
Thanks. That's the answer. Works perfectly now. Why does $self-tmpl_path disappear? Try $self-NewLogon(). Just calling NewLogon() alone does not pass the app object to NewLogon, so the first shift returns undef. - Web