>>>>> "kc" == k clair <[EMAIL PROTECTED]> writes:

kc>  but template toolkit balks at that.  If I set a seperate
kc>  variable to "domain__${d}" and use that as the key, it
kc>  works fine.  But I'd like to do this in a single statement
kc>  as it'll be repeated many times in my template.  Is there
kc>  a way to do it?

I don't think you can do that.  The grammar doesn't seem to support
concatination to generate a key.  I have a fair bit of code that does
the temporary variable way you noted above.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to