From: Dave Rolsky Date: Wed, 18 Feb 2009 19:56:57 +0000 (+0000) Subject: Fix some bugs in the recipe code X-Git-Tag: 0.71~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0df6b748002f8903c8d92a6bd6cd2b27c2d860ef;p=gitmo%2FMoose.git Fix some bugs in the recipe code --- diff --git a/lib/Moose/Cookbook/Extending/Recipe2.pod b/lib/Moose/Cookbook/Extending/Recipe2.pod index 482b291..d12e56f 100644 --- a/lib/Moose/Cookbook/Extending/Recipe2.pod +++ b/lib/Moose/Cookbook/Extending/Recipe2.pod @@ -15,7 +15,6 @@ Moose::Cookbook::Extending::Recipe2 - Providing a role for the base object class use Moose (); use Moose::Exporter; use Moose::Util::MetaRole; - use MooseX::Debugging::Role::Object; Moose::Exporter->setup_import_methods; @@ -33,6 +32,8 @@ Moose::Cookbook::Extending::Recipe2 - Providing a role for the base object class package MooseX::Debugging::Role::Object; + use Moose::Role; + after 'BUILD' => sub { my $self = shift;