On 19/08/2011 14:44, Andrew Black wrote:
> Toby's solution is the sort of thing I am looking for but I can't see
> how to send to STDERR

http://template-toolkit.org/docs/manual/Filters.html#section_stderr

Like so:

     [% some_content | stderr %]

Or if you prefer:

     [% some_content FILTER stderr %]

Or

     [% FILTER stderr %]
     ... block of content
     [% END %]

HTH
A


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

Reply via email to