I did post this before Christmas but got no responses so will try again.
What's better in terms of squeezing as much out of TT as possible and
readability?
[% FOREACH item IN list;
do processing
data_var = "result of processing"
%]
<td>[% data_var %]</td>
[% END %]
or .....
[%
FOREACH item IN list;
do processing;
data_var = "result of processing";
"<td>$data_var</td>";
END
%]
or ...........
[%
FOREACH item IN list;
do processing;
data_var = "result of processing";
'<td>' _ data_var _ '</td>';
END
%]
I ask these questions because there have been 2/3 of us working on this and now
we've gone live, we're now comparing style.
There might be more BP questions later. Hope you don't mind.
CIA
-Ants
Disclaimer: Technically, I'm always wrong!!
---------------------------------
Sent from Yahoo! - a smarter inbox._______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates