[Jifty-commit] r5785 - in jifty/trunk: lib/Jifty/Subs

Jifty commits jifty-commit at lists.jifty.org
Tue Sep 2 17:30:44 EDT 2008


Author: alexmv
Date: Tue Sep  2 17:30:42 2008
New Revision: 5785

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Subs/Render.pm

Log:
 r36802 at kohr-ah:  chmrr | 2008-09-02 17:30:19 -0400
  * Don't use $_ as a loop var


Modified: jifty/trunk/lib/Jifty/Subs/Render.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Subs/Render.pm	(original)
+++ jifty/trunk/lib/Jifty/Subs/Render.pm	Tue Sep  2 17:30:42 2008
@@ -70,8 +70,8 @@
         }
     }
 
-    for (values %coalesce) {
-        my (undef, $event_class, $msg, $render_info) = @{$_};
+    for my $c (values %coalesce) {
+        my (undef, $event_class, $msg, $render_info) = @{$c};
         Jifty->log->debug("Rendering @{[$render_info->{region}]} with @{[$render_info->{render_with}]} for $event_class");
         render_single( $event_class, $msg, $render_info, $callback );
         $sent++;


More information about the Jifty-commit mailing list