I've narrowed down the bug to a simple chunk of code just for you all to try it..
Try saving the following in a file named test.t:
[% FOREACH thing IN [ 'a' 'b' 'test.t' 'd' 'e' ] %] [% TRY %] try [% thing %] [% USE file = File(thing) %] [% BREAK %] [% CATCH File %] [% END %] [% END %]
Then run tpage test.t
I get (with some spaces removed): > tpage test.t Exiting eval via last at (eval 2) line 40. try a try b
I'm expecting it to print out "try test.t" but it doesn't! And that "Exiting eval" error prints out even if I omit the USE line.
I'm running "perl, v5.6.1 built for powerpc-linux" and Template Toolkit version 2.10.
(if it matters, I installed version 2.10 on top of 2.06)
Thanks! Please respond to me directly as well as to the list since I'm not a subscriber.
-michael ferguson
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
