[htmltmpl] variable inside a variable

2006-09-28 Thread Matthew
Is it possible to have a variable inside a variable be parsed? I'd like to pull some text from DB containing a few tmpl_var's and assign that text to a tmpl_var in original file I instantiated the object with. Is this possible? Thank

Re: [htmltmpl] Speeding up H::T

2006-06-27 Thread Matthew
he variables. Is this the wrong way of doing this? Thanks, Matthew Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo htt

[htmltmpl] Speeding up H::T

2006-06-26 Thread Matthew
x27;ve already got "use HTML::Template" in my startup.pl so theoretically its being compiled at server start (anyway to verify this?). But its the instantiation in my handler() routine that's using the CPU time. How I can I get H:T to preform better? Thanks, Matthew Using Tomca

[htmltmpl] verified something

2006-03-07 Thread Matthew Boehm
ile our old CGI does not. And the old CGI doesn't have this problem even though both run under the same mod-perl enabled dir. Thanks, Matthew --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends app

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
g to try a telnet test and see what results come. -Matthew 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 &

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
x27;s global scope and would not be cleared? Beginning to make sense now. $companyID is used in just about every function, which is why it was made global. Should I instead write a function that gets all the vars from the web call and just pass them in between function calls? As I'm

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
Already using use strict, and using use warnings. And yes, the script works fine. -Matthew Paulsen, Brian wrote: I have an idea of where the caching is happening... Put this at the top of your script : use strict; Does your script still work? -Original Message- From: [EMAIL

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
g that. Can you explain this more? My script "use"es several other perl modules. Should I be loading those via Apache? Thanks, Matthew --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends appl

Re: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
than the other 2. So who is caching this? Sounds like mod_perl is. This is bad. apologies for line wrapping.. Thanks, Matthew attempt #1 ### HTML::Template Debug ### In _parse: ### HTML::Template Debug ### /templates/background.tpl : line 1 : TMPL_IF login_menu start ### HTML::Tem

RE: [htmltmpl] mod_perl usage

2006-03-07 Thread Matthew Boehm
modules: core.c mod_perl.c prefork.c http_core.c mod_so.c Is that full-blown enough? Thanks, Matthew --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. A

[htmltmpl] mod_perl usage

2006-03-06 Thread Matthew Boehm
we are indeed running that portion poorly assistance there would be appreciated as well. Thanks, Matthew --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend