RE: [htmltmpl] is it possible to use var in include

2005-09-29 Thread Rajesh_K
I am doing this quite successfully with the following code: In the HTML template In the perl script my $filter = \&tmpl_filter; my $template = HTML::Template->new(filename => 'insider_tmpl.html', path=> $self->param('tmpl_path'), filter=>$filter); sub tmpl_filter() { my $text_ref = s

RE: [htmltmpl] Nesting TMPL tags

2005-07-12 Thread Rajesh_K
Hi Mark, Philip, Is this part of the HTML::Template::expr package? I don't see any %...% construct in HTML::Template. Sorry I am asking you this... ppm is down at activestate and I cant get at the expr module! Rajesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

[htmltmpl] Nesting TMPL tags

2005-07-12 Thread Rajesh_K
Hi,   I want to TMPL_INCLUDE files, the problem is that the file I want to include itself is variable. I want a construct of the sort ”>   Obviously, in my PERL script, I have a $template->param(file_name=>$filename);   While the manual speaks of ”>, there is no such feature pro