I am trying to put some assertions into a template.   The sort of thing I
want is

[%
  myvar  = 0
  # ..... soemthing that modfies myvar

  if  myvar != 5  print STDERR 'myvar should be 5, actual $myvar'

%]

But I can't get my head around the syntax.  Are there any plugins or similar
that might help me.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to