geektron has asked for the wisdom of the Perl Monks concerning the following question:
what i need to do:
etc.[% FOREACH s = [ 1 .. 5 ] %] [% PNAME = [ 'floorplan_name', s ] %] [% useName = PNAME.join('') %] ### other variables snipped for clarity. ### there are 4 or so more just like this <tr> <td> Floor Plan Name </td> <td colspan='3'> [% mycgi.textfield( '-name' => useName, '-size' => '50', '-default' => THIS_PAGE.$IDX.floorplan_na +me ) %] </td> </tr>
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. :-)
|
|---|