[Jifty-commit] r2920 - in jifty/trunk: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Mar 7 13:34:54 EST 2007


Author: jesse
Date: Wed Mar  7 13:34:53 2007
New Revision: 2920

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Param/Schema.pm

Log:
 r53209 at pinglin:  jesse | 2007-03-07 13:34:19 -0500
 * Added a note about where to find doc on our "local *_" hack.


Modified: jifty/trunk/lib/Jifty/Param/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Param/Schema.pm	(original)
+++ jifty/trunk/lib/Jifty/Param/Schema.pm	Wed Mar  7 13:34:53 2007
@@ -106,6 +106,9 @@
     my $from = caller;
 
     no warnings 'redefine';
+    
+    # See the perldoc for an explanation of why we're redefining
+    # the localization method _().
     local *_ = sub { my $args = \@_; defer { _(@$args) } };
 
     Class::Data::Inheritable::mk_classdata($from => qw/PARAMS/);


More information about the Jifty-commit mailing list