On Wed, 26 Jun 2002, Nigel Peck wrote:

> Does anyone know of an in-line code interpreter like PHP but using Perl
> with the <? ... ?> syntax for indicating code. Or, does anyone know how
> to change Apache::ASP to use <? instead of <% (or any of the other such
> as Mason or embperl)

Template Toolkit will allow you to do this.

You can change the tags with the config options "TAG_STYLE", "START_TAG" 
and "END_TAG" or inline with the [% TAGS %] directive.

See http://www.tt2.org/ for more info, especially
http://www.tt2.org/docs/default/Manual/Config.html for how to change the 
tag styles.

Of course, you may want to consider other templating systems - have a look 
around, there are quite a few.

Mark.

-- 
s''  Mark Fowler                                     London.pm   Bath.pm
     http://www.twoshortplanks.com/              [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/  +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to