On Fri, 19 Aug 2011 13:50 +0100, "Dave Howorth" <dhowo...@mrc-lmb.cam.ac.uk> wrote: > Andrew Black wrote: > > [...] > > if myvar != 5 print STDERR 'myvar should be 5, actual $myvar' > > [...] > > Dunno, did you try typing template assert into google, which shows > > http://template-toolkit.org/docs/modules/Template/Plugin/Assert.html > > as the second hit? Or is that too obvious?
Maybe he did try that, and upon reading that page realized it obviously only checks for undefined values, which is not what he is looking for? _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates