[Moose-commits] r7285 - Moose/trunk/lib/Moose/Cookbook/Extending
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Sun Jan 11 23:07:03 GMT 2009
Author: autarch
Date: 2009-01-11 15:07:03 -0800 (Sun, 11 Jan 2009)
New Revision: 7285
Modified:
Moose/trunk/lib/Moose/Cookbook/Extending/Recipe2.pod
Log:
Got to do Moose->init_meta
Modified: Moose/trunk/lib/Moose/Cookbook/Extending/Recipe2.pod
===================================================================
--- Moose/trunk/lib/Moose/Cookbook/Extending/Recipe2.pod 2009-01-11 23:01:18 UTC (rev 7284)
+++ Moose/trunk/lib/Moose/Cookbook/Extending/Recipe2.pod 2009-01-11 23:07:03 UTC (rev 7285)
@@ -12,6 +12,7 @@
use strict;
use warnings;
+ use Moose ();
use Moose::Exporter;
use Moose::Util::MetaRole;
use MooseX::Debugging::Role::Object;
@@ -22,6 +23,8 @@
shift;
my %options = @_;
+ Moose->init_meta(%options);
+
Moose::Util::MetaRole::apply_base_class_roles(
for_class => $options{for_class},
role => ['MooseX::Debugging::Role::Object'],
More information about the Moose-commits
mailing list