From: Jesse Luehrs Date: Tue, 8 Dec 2009 09:06:57 +0000 (-0600) Subject: also mention native trait 'elements' in reference to auto_deref X-Git-Tag: 0.93_01~48 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=606cc2a60bc9b9f0e7297f1a923ca8b9efc6b1e1;p=gitmo%2FMoose.git also mention native trait 'elements' in reference to auto_deref --- diff --git a/lib/Moose.pm b/lib/Moose.pm index e5af2af..bf5e996 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -467,8 +467,11 @@ If an attribute is marked as lazy it B have a default supplied. This tells the accessor to automatically dereference the value of this attribute when called in list context. The accessor will still return a -reference when called in scalar context. This is only legal if your C -option is either C or C. +reference when called in scalar context. If this behavior isn't desirable, +L or +L may be a better +choice. The I option is only legal if your I option is +either C or C. =item I $code>