Turn interpolation on and off within template?
Sherwood Botsford <[email protected]> Sun, 24 Apr 2016 12:28:12 -0600
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <CAOX=2F81k4Ag=pn3-6_HAM6u9MEjFd+FcGQCKEt4YREB8BRVug@mail.gmail.com> |
--===============3812528784292837366== Content-Type: multipart/alternative; boundary=001a11c157166cb3c705313f3bee --001a11c157166cb3c705313f3bee Content-Type: text/plain; charset=UTF-8 I'm expanding tt2 for my .htaccess files. In those I need to use $base for my error document, but tt2 is borking on my rewrite rules, which, of course use regexes. How do I interpolate $base then turn off interpolation? Respectfully, Sherwood of Sherwood's Forests --001a11c157166cb3c705313f3bee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><br></div>I'm expanding tt2 for my .htaccess= files.=C2=A0 In those I need to use $base for my error document, but tt2 i= s borking on my rewrite rules, which, of course use regexes.<br><br></div>H= ow do I interpolate $base then turn off interpolation?<br><div><div><br><br= clear=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><d= iv dir=3D"ltr"><div>Respectfully,<br><br>Sherwood of Sherwood's Forests= <br><br></div></div></div></div></div></div> </div></div></div> --001a11c157166cb3c705313f3bee-- --===============3812528784292837366== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates --===============3812528784292837366==--