<>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:
<TMPL_INCLUDE NAME="<TMPL_VAR NAME=include_param>">
How can I accomplish this?
I use the output from one template to feed into another:
---- my $tmpl1 = HTML::Template->new( . . . ); my $tmpl2 = HTML::Template->new( . . . ); # Bunch of params() calls here $tmpl2->param( included => $tmpl1->output() ); print $tmpl1->output(); ----
With a <TMPL_VAR included> in $tmpl2's file.
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users