[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] 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

Re: [cgiapp] loading templates in setup?

2002-05-30 Thread Eric Moore
Or, you can add them into your runtime template: tmpl_include name='header.tmpl' !--begin logon-- ...runtime template for a logon ... !--end logon-- tmpl_include name='footer.tmpl' From: tomasz konefal [EMAIL PROTECTED] Date: Thu, 30 May 2002 14:26:17 -0400 To: [EMAIL PROTECTED]

[cgiapp] 2.4 - load_tmpl() Question

2002-05-29 Thread Eric Moore
When using a scalar $file to define the template file in load_tmpl(), the tmpl_path is overwritten with the path for HTML::Template.pm. Does anyone else have this problem? Tnx. Eric. sub NewLogon { my $self = shift; $self-tmpl_path( '/home/netremit/tmpl' ); my $runmode =

[cgiapp] Re: 2.4 - load_tmpl() Question [Correction]

2002-05-29 Thread Eric Moore
Sorry, the error was a typo on my part. load_tmpl() works well. Please disregard previous question. EM - Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [cgiapp] Config::Simple

2002-03-21 Thread Eric Moore
In the past, I have done what Cory outlines From: Cory Trese [EMAIL PROTECTED] SNIP # install global variable values from config file $service_name = %conf-{'service_name'}; $service_url = %conf-{'service_url'}; $session_life = %conf-{'session_life'}; $session_context =