Hi,

In my case [%NEXT%] is a variable and I wanted that to
be replaced with value I pass. But as you and others
have said I think I have to change this variable name.

Thanx for your reply.

-Saradhi

 --- Hans Juergen von Lengerke <[EMAIL PROTECTED]>
wrote: > > From: Saradhi N.C <[EMAIL PROTECTED]>
> >
> > I have a slight problem using the Template.pm
> module.
> >
> > In my template I have used in several places
> > [%NEXT%]
> 
> As others have pointed out, NEXT is a reserved word
> for TT.
> If you cannot get around using [%NEXT%] in your
> templates,
> you may want to consider to use different START_TAG
> and
> END_TAGs in for your TT markup, which would make
> [%NEXT%]
> just plain text from the point of view of the
> template
> processor. See the section on these configuration
> values in
> Template::Manual::Config.
> 
> Example template would then be:
>    Hello <+ user.name +>
>    [%NEXT%]
>    How do you do?
> 
> Output after processing:
>    Hello Saradhi
>    [%NEXT%]
>    How do you do?
> 
> HTH, Hans 

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to