from what i saw, the $var trick within TT only works for hash/ arrray keys, not for strings.
Did you try it? The examples in the docs for the SET directive would seem to imply that you're wrong :)
--[% useName = "floorplan_name$s" %]
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Template::Toolkit: better way to generate variable names?
by davorg
in thread Template::Toolkit: better way to generate variable names?
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |