logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: A Question?: msg#00088

Subject: Re: A Question?
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.



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>