On Sep 25, 2014, at 1:13 PM, Chad Wallace <cwall...@lodgingcompany.com> wrote:

> 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.


Argh, thanks for catching my leap in logic.  You saved me the 10 minutes of 
trying it out.

I'll try Andy's version later.  Thanks, all.

xoa

--
Andy Lester => www.petdance.com

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to