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
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
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
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
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 &
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
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
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
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
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
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
11 matches
Mail list logo