Re: Can a template tell if it has been PROCESSed or INCLUDEd?
"Kiss Gabor (Bitman)" <kissg-8/[email protected]> Thu, 25 Sep 2014 20:29:25 +0200 (CEST)
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
> This won't work. That variable will be there in an INCLUDE as well, > because, "The 'INCLUDE' directive localises (i.e. copies) all variables > before processing the template."[1] It doesn't give you a clean slate. Errrr... You are right. I don't know how I thought. :-( Gabor