in reply to Dynamic variable naming in Template Toolkit
Are you positive you need symbolic references? I'm pretty sure there is no support for them in TT. How is TT being invoked? From perl you pass it a vars hashref, when constructing this you can do the symbolic dereference there. Or if thats not an option why not try and pre-populate a hash instead of using symbolic references? Theres no real easy way to do this that I'm aware of.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dynamic variable naming in Template Toolkit
by agianni (Hermit) on May 30, 2007 at 20:25 UTC |