|XP is just a number|
Template Toolkit and Config Optionsby petesmiley (Friar)
|on Apr 29, 2004 at 20:56 UTC||Need Help??|
petesmiley has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem I'm kind of stuck on. I'm using Template Toolkit to process some config files and I'm trying to figure out how to turn interpolation on or off for different blocks.
Is there a way to do this? There's only about 100 pages of docs for Template Toolkit, and I haven't had much luck figuring this one out.
Edit: To clear up any questions.
When I'm talking about blocks I'm talking about template blocks. Things that start with
in the template.
When I talk about interpolation, I'm talking about the INTERPOLATE => 1 option whenever I create the template object.
I want it off when I do a
for some and on for others.
Is this even possible?