I'm gonna go with "inconsequential". I actually find myself doing templates
like this:
[%-
my_list = [....some list of things...];
FOR i IN my_list;
IF my_list.$i == 'A';
'found A' _ loop.index _ '<br>';
ELSE;
'found A' _ loop.index _ '<br>';
END;
END;
-%]
Guess my view of templating has been tainted by many a moon spent writing PHP.
>________________________________
> From: Summer <crazysummer2...@yahoo.com>
>To: "templates@template-toolkit.org" <templates@template-toolkit.org>
>Sent: Monday, April 22, 2013 12:58 PM
>Subject: [Templates] semi-colon at the end hurt anything?
>
>
>
>
>hello -- just want to verify, but I would think that it is of no consequence.
>
>
> [% IF something; %]
> //do something
> [% ELSIF something-else; %]
>
>
> [% END %]
>
>
>or
>
>
> [% IF something && somethingelse; %]
>
>
>";" <--- is that bad practice or inconsequential?
>
>
>thanks,
>summer
>
>_______________________________________________
>templates mailing list
>templates@template-toolkit.org
>http://mail.template-toolkit.org/mailman/listinfo/templates
>
>
>
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates