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

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Dec 7 20:08:17 EST 2006


Author: jesse
Date: Thu Dec  7 20:08:12 2006
New Revision: 2343

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

Log:
 r46002 at pinglin:  jesse | 2006-12-07 18:13:57 +0000
 * If we're used in an oo manner, don't blow away the caller's lexical


Modified: Template-Declare/lib/Template/Declare/Tags.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/Tags.pm	(original)
+++ Template-Declare/lib/Template/Declare/Tags.pm	Thu Dec  7 20:08:12 2006
@@ -203,7 +203,7 @@
 =cut
 
 sub show {
-    $self = shift if ( $_[0]->isa('Template::Declare') );
+    local $self = shift if ( $_[0]->isa('Template::Declare') );
     my $template = shift;
     my $buf      = '';
 


More information about the Jifty-commit mailing list