[Jifty-commit] r6183 - in Template-Declare/branches/markapl-syntax: lib/Template/Declare

Jifty commits jifty-commit at lists.jifty.org
Wed Dec 24 22:21:19 EST 2008


Author: gugod
Date: Wed Dec 24 22:21:19 2008
New Revision: 6183

Modified:
   Template-Declare/branches/markapl-syntax/   (props changed)
   Template-Declare/branches/markapl-syntax/lib/Template/Declare/TagCompiler.pm

Log:
 r9511 at yra:  gugod | 2008-12-25 10:52:13 +0800
 That on_scope_end can't live with its own scope.
 


Modified: Template-Declare/branches/markapl-syntax/lib/Template/Declare/TagCompiler.pm
==============================================================================
--- Template-Declare/branches/markapl-syntax/lib/Template/Declare/TagCompiler.pm	(original)
+++ Template-Declare/branches/markapl-syntax/lib/Template/Declare/TagCompiler.pm	Wed Dec 24 22:21:19 2008
@@ -148,7 +148,7 @@
         my $name = strip_name;
         my $proto = strip_proto;
 
-        inject_if_block("{ no strict; BEGIN { Template::Declare::TagCompiler::inject_scope }; };");
+        inject_if_block("no strict; BEGIN { Template::Declare::TagCompiler::inject_scope }; use strict;");
 
         if (defined($proto)) {
             inject_before_block("$proto, sub");


More information about the Jifty-commit mailing list