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

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to