[Jifty-commit] r2991 - jifty/trunk/lib/Jifty/Param

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Mar 16 09:21:57 EDT 2007


Author: audreyt
Date: Fri Mar 16 09:21:57 2007
New Revision: 2991

Modified:
   jifty/trunk/lib/Jifty/Param/Schema.pm

Log:
* Jifty::DBI::Param::Schema - Mention how to use "defer".

Modified: jifty/trunk/lib/Jifty/Param/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Param/Schema.pm	(original)
+++ jifty/trunk/lib/Jifty/Param/Schema.pm	Fri Mar 16 09:21:57 2007
@@ -33,7 +33,12 @@
 This module provides a simple syntax to declare action parameters.
 
 It re-exports C<defer> and C<lazy> from L<Scalar::Defer>, for setting
-parameter fields that must be recomputed at request-time.
+parameter fields that must be recomputed at request-time:
+
+    param name =>
+        default is defer { Jifty->web->current_user->name };
+
+See L<Scalar::Defer> for more information about C<defer>.
 
 =head2 schema
 


More information about the Jifty-commit mailing list