you can insert perl code into the template and evaluate all what you want. Although as in first answer in my question - your template logic is too complex. Perl-script should not know nothing about '<td>' and other tags - only data. Template logic should not evaluate nothing - only dumb logic IF WRAPPER ELSE INSERT PROCESS ... END
-------------------------------------------- Sergey Polyakov aka "BeerBong" Chief of WebZavod http://www.webzavod.ru Tel. +7 (8462) 43-93-85 | +7 (8462) 43-93-86 mailto:[EMAIL PROTECTED] > hi, > > I want to do the following thing.. prapare a string (from perl), after > that pass this string to the TT but instead of placing the content of > this string into the output I want it to be evaluated like Template > (include!!) and the result of it parsing included.. one example : > > > TT file > ========== > > <? FOREACH row = result ?> > <? eval something !!! ?> > <? END ?> > > > in my perl-scipt i have this : > ============================== > > > $something = "<td>row.field1</td><td>row.field2</td>" > > > did U got the idea ?! Just like INCLUDE but in a string > > thanx > [EMAIL PROTECTED] > > > _______________________________________________ > templates mailing list > [EMAIL PROTECTED] > http://www.template-toolkit.org/mailman/listinfo/templates > >
