Re: "ignore" a section
Sherwood Botsford <[email protected]> Mon, 7 Mar 2016 12:57:50 -0700
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <CAOX=2F8MdHswONXspfAWT0wrawbGwy4Wh7KDnCxANg5VCHqDGw@mail.gmail.com> |
--===============1170775258994824900== Content-Type: multipart/alternative; boundary=089e013c6f5e823181052d7ae3ed --089e013c6f5e823181052d7ae3ed Content-Type: text/plain; charset=UTF-8 Does the \ escape mechanism work in this situation ? Respectfully, Sherwood of Sherwood's Forests Sherwood Botsford Sherwood's Forests -- http://Sherwoods-Forests.com Online Inventory https://docs.google.com/spreadsheets/d/10u28L2gCe6wSdAZWwXRMZKi90M7dNYQrCcyE_QWEOZw/edit?usp=sharing O: 780-848-2548 C:780-863-7311 50042 Range Rd 31 Warburg, Alberta T0C 2T0 On 7 March 2016 at 12:37, Aaron Macks <[email protected]> wrote: > I was trying to avoid having another file to manage, especially since > this is only used in a single place and only a single line of code. > > Aaron > > On 3/7/16 2:35 PM, Steven Cotton wrote: > > On 7 March 2016 at 19:12, Aaron Macks <[email protected] > > <mailto:[email protected]>> wrote: > > > > the problem is that TT tries to interpolate the $ and it all gets > > messed up > > > > > > WRAPPER blocks are processed. You could call INSERT at the end of your > > wrapper, which will deliver the file as-is: > > > > http://template-toolkit.org/docs/manual/Directives.html#section_INSERT > > > > Steve. > > -- > _______________________________________________________ > Aaron Macks([email protected]) [http://www.wiglaf.org/~aaronm ] > My sheep has seven gall bladders, that makes me the King of the Universe! > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates > --089e013c6f5e823181052d7ae3ed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Does the \ escape mechanism work in this situation =C2=A0?= </div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail= _signature"><div dir=3D"ltr"><div>Respectfully,<br><br>Sherwood of Sherwood= 's Forests<br><br>Sherwood Botsford<br>Sherwood's Forests --=C2=A0 = <a href=3D"http://Sherwoods-Forests.com" target=3D"_blank">http://Sherwoods= -Forests.com</a></div><div>Online Inventory=C2=A0</div><div><a href=3D"http= s://docs.google.com/spreadsheets/d/10u28L2gCe6wSdAZWwXRMZKi90M7dNYQrCcyE_QW= EOZw/edit?usp=3Dsharing" target=3D"_blank">https://docs.google.com/spreadsh= eets/d/10u28L2gCe6wSdAZWwXRMZKi90M7dNYQrCcyE_QWEOZw/edit?usp=3Dsharing</a><= br>O: 780-848-2548 C:780-863-7311<br>50042 Range Rd 31<br>Warburg, Alberta = T0C 2T0<br><br></div></div></div></div> <br><div class=3D"gmail_quote">On 7 March 2016 at 12:37, Aaron Macks <span = dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">upe= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I w= as trying to avoid having another file to manage, especially since<br> this is only used in a single place and only a single line of code.<br> <br> Aaron<br> <br> On 3/7/16 2:35 PM, Steven Cotton wrote:<br> > On 7 March 2016 at 19:12, Aaron Macks <<a href=3D"mailto:upelluri@g= mail.com">[email protected]</a><br> <span class=3D"">> <mailto:<a href=3D"mailto:[email protected]">upel= [email protected]</a>>> wrote:<br> ><br> >=C2=A0 =C2=A0 =C2=A0the problem is that TT tries to interpolate the $ a= nd it all gets<br> >=C2=A0 =C2=A0 =C2=A0messed up<br> ><br> ><br> </span>> WRAPPER blocks are processed. You could call INSERT at the end = of your<br> > wrapper, which will deliver the file as-is:<br> ><br> > <a href=3D"http://template-toolkit.org/docs/manual/Directives.html#sec= tion_INSERT" rel=3D"noreferrer" target=3D"_blank">http://template-toolkit.o= rg/docs/manual/Directives.html#section_INSERT</a><br> ><br> > Steve.<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> --<br> _______________________________________________________<br> Aaron Macks(<a href=3D"mailto:[email protected]">[email protected]</a>) [<a= href=3D"http://www.wiglaf.org/~aaronm" rel=3D"noreferrer" target=3D"_blank= ">http://www.wiglaf.org/~aaronm</a> ]<br> My sheep has seven gall bladders, that makes me the King of the Universe!<b= r> <br> _______________________________________________<br> templates mailing list<br> <a href=3D"mailto:[email protected]">templates@template-toolki= t.org</a><br> <a href=3D"http://mail.template-toolkit.org/mailman/listinfo/templates" rel= =3D"noreferrer" target=3D"_blank">http://mail.template-toolkit.org/mailman/= listinfo/templates</a><br> </div></div></blockquote></div><br></div> --089e013c6f5e823181052d7ae3ed-- --===============1170775258994824900== 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 --===============1170775258994824900==--