Problems? Is your data what you think it is? | |
PerlMonks |
Template::Toolkit: better way to generate variable names?by geektron (Curate) |
on Aug 06, 2003 at 10:19 UTC ( [id://281330]=perlquestion: print w/replies, xml ) | Need Help?? |
geektron has asked for the wisdom of the Perl Monks concerning the following question:
i've found myself with a touch of a 'hack' in some templates i put together w/ Template::Toolkit. it works fine and all, but there has to be a better way to do this.
what i need to do:
etc. i read through some of the mailing lists, and from what i saw, the $var trick within TT only works for hash/ arrray keys, not for strings. so, is there a better way? sometimes, cases like this, i miss having a *real* job ... but not often. :-)
Back to
Seekers of Perl Wisdom
|
|