On Tue, Feb 10, 2004 at 06:01:53PM +0000, Andy Wardley wrote:
> I think this is what has broken it. Should be trivial to fix:
Here's the patch. All tests pass.
A
--- Inline-TT-0.02/lib/Inline/TT.pm 2002-08-22 11:19:46.000000000 +0100
+++ Inline-TT-0.02-abw/lib/Inline/TT.pm 2004-02-10 18:02:42.000000000 +0000
@@ -82,7 +82,7 @@
my \$Doc = $document
my \$Context = Template::Context->new;
-\$Context->visit(\$Doc->{_DEFBLOCKS});
+\$Context->visit(\$Doc, \$Doc->{_DEFBLOCKS});
$subs
CODE
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates