Paul Seamons wrote:
Text::Tmpl has a COMMENT directive.  Both to
enhance cross compatibility as well as to add features, it
would be nice for TT to support this directive.  It would
most likely have to be added at the TT3 release.

Template::Parser::CET and Template::Alloy support it currently.

  [% COMMENT %]

     Template section that won't be shown
     [% var_a %]
     [% IF foo %]Foo[% END %]

  [% END %]

Paul Seamons

Do you mean this to be something analogous to Javadoc? Otherwise there is already a way to comment stuff with [%# %]. What do you mean by "cross compatibility"?

[%#
     Template section that won't be shown
     [% var_a %]
     [% IF foo %]Foo[% END %]
%]

Robert


_______________________________________________
templates mailing list
templates@template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to