Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
I jumped the gun on this one. I have two versions of our CGI. They are exactly the same except version 2 uses HTML::Template. Version 1 doesn't experience this cache problem. Version 2 does. This is why I believe HTMLTemp is causing this in conjunction with mod_perl. I'm going to try a telnet

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
Behalf Of Matthew Boehm Sent: Tuesday, March 07, 2006 10:22 AM To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl] mod_perl usage Hmm. I am using strict, but I do have many "globals". Here are the first few lines of our program: #!/usr/bin/perl use strict; use warnings

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
Hmm. I am using strict, but I do have many "globals". Here are the first few lines of our program: #!/usr/bin/perl use strict; use warnings; use lib '/path/to/something/'; use tools qw($dbh $webpage_obj &displayError $template &messageDie); $template = new HTML::Template(filename => '/home/

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
nal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm Sent: Tuesday, March 07, 2006 9:59 AM To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl] mod_perl usage Already using use strict, and using use warnings. And yes, the script works fine. -Matth

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
this... use strict; sub printPage { ... Do all my processing here... } printPage; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm Sent: Tuesday, March 07, 2006 9:44 AM To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm Sent: Tuesday, March 07, 2006 9:44 AM To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl] mod_perl usage Here is some debug information. What follows is 3 attempts at my CGI. First was with the companyID of 1 (Traders

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
I use Apache::Registry (this has likely been replaced by the ModPerl::Registry that you mention) From what I just read, Apache::Registry is the mod_perl version 1 for Apache1 and ModPerl::registry is mod_perl 2 for Apache2 The scripts do get compiled and stored in memory and it's exactly wh

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
-users@lists.sourceforge.net Subject: Re: [htmltmpl] mod_perl usage Here is some debug information. What follows is 3 attempts at my CGI. First was with the companyID of 1 (Traders International) 2nd was ID 26 (Trading Zoo) and 3rd was ID 2 (omNovia). Notice that the #3 attempt shows the same values

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
Here is some debug information. What follows is 3 attempts at my CGI. First was with the companyID of 1 (Traders International) 2nd was ID 26 (Trading Zoo) and 3rd was ID 2 (omNovia). Notice that the #3 attempt shows the same values from attempt #1 and that #3's debug output is MUCH less than

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
ice a huge improvement in speed. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm Sent: Tuesday, March 07, 2006 9:00 AM To: html-template-users@lists.sourceforge.net Subject: RE: [htmltmpl] mod_perl usage > I have no experience of M

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
> I have no experience of ModPerl::PerlRun. How then are you running ModPerl? My apache conf contains this which activates mod_perl for a specific directory on our web server: Options +ExecCGI SetHandler perl-script PerlResponseHandler ModPerl::PerlRun PerlOptions +Par

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Paulsen, Brian
:10 am To: "html-template-users@lists.sourceforge.net" Subj: [htmltmpl] mod_perl usage Hey guys, I tried to register to the list but SF never replied back to me; so if anyone replies, I'd appreciate a CC: We use mod_perl in the format of ModPerl::PerlRun. We run only one cgi (our

[htmltmpl] mod_perl usage

2006-03-06 Thread Matthew Boehm
Hey guys, I tried to register to the list but SF never replied back to me; so if anyone replies, I'd appreciate a CC: We use mod_perl in the format of ModPerl::PerlRun. We run only one cgi (our main app) that loads HTML pages via simple file open and uses a crude search/replace as our 'template'