From: Dave Rolsky Date: Fri, 27 Mar 2009 21:20:58 +0000 (-0500) Subject: updated recipes for new meta recipe 6 X-Git-Tag: 0.73_01~47 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=505dcac2e86a62f556e38aaa0e1ba362ba723e8b;p=gitmo%2FMoose.git updated recipes for new meta recipe 6 --- diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index 16a8933..d6d1b8a 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -142,10 +142,21 @@ L as well. =item L - The "table" attribute implemented as a metaclass trait -This example takes the class metaclass we saw in the previous recipe +This recipe takes the class metaclass we saw in the previous recipe and reimplements it as a metaclass trait. -=item L - Hooking into the immutabilization system (TODO) +=item L - A method metaclass for marking methods public or private + +This recipe shows a custom method metaclass that implements making a +method private. + +=item L - Using a blessed array reference as an object instance + +This recipe shows an example of how you create your own meta-instance +class. The meta-instance determines the internal structure of object +instances and provide access to attribute slots. + +=item L - Hooking into immutabilization (TODO) Moose has a feature known as "immutabilization". By calling C<< __PACKAGE__->meta()->make_immutable() >> after defining your class @@ -160,12 +171,6 @@ meta-instance class as well. This recipe shows you how to write extensions which immutabilize properly. -=item L - Using a blessed array reference as an object instance - -This recipe shows an example of how you create your own meta-instance -class. The meta-instance determines the internal structure of object -instances and provide access to attribute slots. - =back =head2 Extending Moose