Hi Andy,When trying to parse a broken template more than once you get a parse error the first time and then a "not found" on subsequent attempts. Is this intentional? I can't really see it being a problem in normal use but I did just spend way too many hours trying to figure out how I'd broken my app's tests.. (In fact I'm still wondering why this howed up when it did and not before but that's my issue.. 8)
I have no idea where to start looking to patch this so I did up the attached script which demonstrates the problem. I was unable to work around it with cache or compile settings.
I thought I saw a reference to this on the list recently but couldn't find anything.
cheers, J Andy Wardley wrote:
Morning All, There's a minor buglet in recent versions of Strawberry Perl that's causing one of the TT2 tests to fail on Windows. TT2 itself works fine - the failure is unrelated to anything that TT2 is doing. ActivePerl isn't affected. So I need to release a new version fairly pronto to stop this test from failing or I'll have Adam Kennedy chasing me around CPAN with a large meat cleaver :-) I've got five outstanding patches/issues tagged red in my TT inbox. Are there any that I've missed? http://mail.template-toolkit.org/pipermail/templates/2007-July/009540.html [patch] Template::Plugin::Date accept Y-M-D H:M:S http://mail.template-toolkit.org/pipermail/templates/2008-January/009940.html [PATCH] allow forcing scalar context to deal with ornery object methods -> Template::Plugin::Scalar http://mail.template-toolkit.org/pipermail/templates/2008-January/009962.html [PATCH] replace() can use $1 http://mail.template-toolkit.org/pipermail/templates/2008-February/010010.html one more try... where's Math.pm plugin? http://mail.template-toolkit.org/pipermail/templates/2008-March/010105.html [PATCH] Make list.slice(1, -1) VMethod work as expected Cheers A _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
tt_test.pl
Description: Perl program
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
