From: Ricardo SIGNES Date: Fri, 24 Oct 2008 15:39:24 +0000 (+0000) Subject: doc undef for init_arg X-Git-Tag: 0.19~169 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ca63d17a8aadd98a4f493492d129459cb9eed6e3;p=gitmo%2FMouse.git doc undef for init_arg --- diff --git a/lib/Mouse.pm b/lib/Mouse.pm index c529135..2e1bad9 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -299,9 +299,10 @@ Whether this attribute is required to have a value. If the attribute is lazy or has a builder, then providing a value for the attribute in the constructor is optional. -=item init_arg => Str +=item init_arg => Str | Undef -Allows you to use a different key name in the constructor. +Allows you to use a different key name in the constructor. If undef, the +attribue can't be passed to the constructor. =item default => Value | CodeRef