Ok, this is easy enough to reproduce.
I suspect you are right, Andy, that is an error state not being reset.
I'm running this under Catalyst and it runs TT inside an eval, so TT
could be in an unstable state after the error.
Here's a script and templates to reproduce:
http://hank.org/demos/tt-moseley.tar.gz
That's probably more involved than needed, but contains:
$ ls
common.tt config.tt page.tt test.pl
So in one window run test.pl, then in another window edit common.tt
and add a syntax error after running one loop.
I modified this line from:
"this is block 'four'\n";
To this (change the single quote):
"this is block "four'\n";
After creating the syntax error I get:
TT produced an error:
[file error - parse error - common.tt line 13-23: unexpected token (four)
Then after correcting the syntax error I get:
TT produced an error:
[file error - one: not found]
Does that help?
--
Bill Moseley
[EMAIL PROTECTED]
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates