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
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
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/
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
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
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
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
-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
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
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
> 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
: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
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'
13 matches
Mail list logo