you're stuck on making the included file dynamic, I would
> recommend a two-sweep approach, which I see Timm Murray's post addresses.
>
> Cheers,
>
> Jason
>
> Todd Chapman wrote:
>
> >I would like to pass a parameter to a template that
> >would be
which TMPL_VARs.
Thanks.
-Todd
On Wed, Jan 07, 2004 at 01:26:19PM -0600, Timm Murray wrote:
> At 01:24 PM 1/7/04 -0500, Todd Chapman wrote:
> >I would like to pass a parameter to a template that
> >would be used to include another template. This
> >syntax does not seem to be valid:
I would like to pass a parameter to a template that
would be used to include another template. This
syntax does not seem to be valid:
How can I accomplish this?
Thanks.
-Todd
---
This SF.net email is sponsored by: Perforce Software.
Perfo
Remove the "use HTML::Template" line. Keep the
"HTML::Template::Expr" line.
-Todd
On Wed, Nov 19, 2003 at 11:32:29PM -0500, Chris wrote:
> Hi Matt, Thanks for all your help.
>
> I just added the strict option on:
>
> my $template = HTML::Template->new(filename => 'index.tmpl', strict => 0,
> g
I guess I answered my own question. I turned on cache_debug
and the logs say that I am getting cache hits! Too bad I
didn't speed up the application significantly. Need a high
resolution timer to see the the improvement...
-Todd
On Fri, Oct 03, 2003 at 12:53:06PM -0400, Todd Chapman wrote
I am moving my CGI script to mod_perl. To get things
going quickly I'm running them under Apache::PerlRun.
The HTML::Template docs say that I can turn caching
on when running under mod_perl. Does this assume I
am using Apache::Registry, or will the caching work
with Apache::PerlRun also?
Thanks!
Not sure what you are asking but maybe you want.
while (my $hashref = $st1->fetchall_hashref) {
push @array, $hashref;
}
$template->param(myloop => \@array);
-Todd
On Tue, 3 Dec 2002, Sven Joerns wrote:
> Hi,
> I want want to manipulate the data for TMPL_LOOP.
> Which perl moduls