From: Dave Rolsky Date: Sat, 11 Feb 2012 20:34:17 +0000 (-0600) Subject: Rename Meta::Recipe7 to Meta::GlobRef_InstanceMetaclass X-Git-Tag: 2.0500~61 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a058213308e564d2ac5330c97c0a884e88adf9e5;p=gitmo%2FMoose.git Rename Meta::Recipe7 to Meta::GlobRef_InstanceMetaclass --- diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index 0f9ef4e..19be00f 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -137,12 +137,15 @@ and reimplements it as a metaclass trait. This recipe shows a custom method metaclass that implements making a method private. -=item L - Using a blessed array reference as an object instance +=item L 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. +In this particular instance, we use a blessed glob reference as the instance +instead of a blessed hash reference. + =item Moose::Cookbook::Meta::Recipe8 - Hooking into immutabilization (TODO) Moose has a feature known as "immutabilization". By calling C<< diff --git a/lib/Moose/Cookbook/Meta/Recipe7.pod b/lib/Moose/Cookbook/Meta/GlobRef_InstanceMetaclass.pod similarity index 99% rename from lib/Moose/Cookbook/Meta/Recipe7.pod rename to lib/Moose/Cookbook/Meta/GlobRef_InstanceMetaclass.pod index b661d44..402624f 100644 --- a/lib/Moose/Cookbook/Meta/Recipe7.pod +++ b/lib/Moose/Cookbook/Meta/GlobRef_InstanceMetaclass.pod @@ -1,4 +1,4 @@ -package Moose::Cookbook::Meta::Recipe7; +package Moose::Cookbook::Meta::GlobRef_InstanceMetaclass; # ABSTRACT: Creating a glob reference meta-instance class