From: Dave Rolsky Date: Tue, 17 Mar 2009 15:17:03 +0000 (-0500) Subject: Missed a few required options for the constructor X-Git-Tag: 0.80_01~39 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9258c3691a7d22af24a99bf0c3dfcf10cf6d5d68;p=gitmo%2FClass-MOP.git Missed a few required options for the constructor --- diff --git a/lib/Class/MOP/Method/Accessor.pm b/lib/Class/MOP/Method/Accessor.pm index bd88bf3..a5cc605 100644 --- a/lib/Class/MOP/Method/Accessor.pm +++ b/lib/Class/MOP/Method/Accessor.pm @@ -243,22 +243,30 @@ C<%options> provided. =over 4 -=item attribute +=item * attribute This is the C for which accessors are being generated. This option is required. -=item accessor_type +=item * accessor_type This is a string which should be one of "reader", "writer", "accessor", "predicate", or "clearer". This is the type of method being generated. This option is required. -=item is_inline +=item * is_inline This indicates whether or not the accessor should be inlined. This default to false. +=item * name + +The method name (without a package name). This is required. + +=item * package_name + +The package name for the method. This is required. + =back =item B<< $metamethod->accessor_type >>