On Wed, 2003-05-28 at 08:55, Saradhi N.C wrote:
> Hello All,
>
> I have a slight problem using the Template.pm module.
>
> In my template I have used in several places
> [%NEXT%]
Is this meant as a literal or do you have a variable called NEXT ?
If you need a literal, you could try encoding the delimiters, assuming
you're generating html with these templates. Something like:
[%NEXT%]
The output will be the same but TT won't parse it as delimiters.
If it's a variable you have, can you not change the name it is passed in
as ? Something like
$tt->process( $tmpl, { mynext => \$NEXT } );
Hopefully you haven't written too many templates before this problem
cropped up so it shouldn't be too time consuming to do this.
Simon.
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates