[Jifty-commit] r2503 - in Template-Declare: lib/Template/Declare

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jan 15 21:18:03 EST 2007


Author: jesse
Date: Mon Jan 15 21:18:02 2007
New Revision: 2503

Modified:
   Template-Declare/   (props changed)
   Template-Declare/lib/Template/Declare/Tags.pm

Log:
 r21001 at hualien:  jesse | 2007-01-15 21:17:57 -0500
 * that local should have been a my


Modified: Template-Declare/lib/Template/Declare/Tags.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/Tags.pm	(original)
+++ Template-Declare/lib/Template/Declare/Tags.pm	Mon Jan 15 21:18:02 2007
@@ -44,7 +44,7 @@
 
     # template "foo" ==> CallerPkg::_jifty_template_foo;
     # template "foo/bar" ==> CallerPkg::_jifty_template_foo/bar;
-    my $codesub = sub { local $self = shift if ($_[0]); &$coderef($self) };
+    my $codesub = sub { my $self = shift if ($_[0]); &$coderef($self) };
 
     if (wantarray) { 
         # We're being called by something like private that doesn't want us to register ourselves


More information about the Jifty-commit mailing list