Hi Aleksey, No, that kind of structure doesn't work. HTML::Template for the sake of speed and effeciency uses a one-pass parser.
Kenny > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf > Of Aleksey Kohanov > Sent: Saturday, December 21, 2002 3:31 PM > To: [EMAIL PROTECTED] > Subject: [htmltmpl] TMPL_INCLUDE and TMPL_VAR !?? > > > Hello! > > Would work such scheme : > > <TMPL_INCLUDE NAME=<TMPL_VAR NAME=choose>> > > I have such situation: i need to include tmpl-file who's name will get > script like this : > -- > my $q = new CGI; > > my $choose = ($q->param('choose')); > > print $q->header(); > > $t->param(choose=>$choose); > > print $t->output(); > -- > > For example if choose="about.tmpl" i need include file about.tmpl, if > choose="form.tmpl" - form.tmpl > > > Please tell me how could I do this right ? > > > tnx. > > -- > wbr. Aleksey V. Kohanov > CJSC "Internet-Service" > e-mail: [EMAIL PROTECTED] > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! > Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, > MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > Html-template-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/html-template-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
