From: Dave Rolsky Date: Sat, 1 Oct 2011 15:50:26 +0000 (-0500) Subject: Use a better class name for recipe code X-Git-Tag: 2.0500~83 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=909c3b966166d70228f172a33269d3f4b5db3d8b;p=gitmo%2FMoose.git Use a better class name for recipe code --- diff --git a/lib/Moose/Cookbook/Meta/Recipe6.pod b/lib/Moose/Cookbook/Meta/Recipe6.pod index 548bb27..730a19f 100644 --- a/lib/Moose/Cookbook/Meta/Recipe6.pod +++ b/lib/Moose/Cookbook/Meta/Recipe6.pod @@ -9,7 +9,7 @@ __END__ =head1 SYNOPSIS - package My::Meta::Method; + package MyApp::Meta::Method::PrivateOrPublic; use Moose; use Moose::Util::TypeConstraints; @@ -66,7 +66,7 @@ __END__ __PACKAGE__->meta()->add_method( '_reset_password', - My::Meta::Method->new( + MyApp::Meta::Method::PrivateOrPublic->new( name => '_reset_password', package_name => __PACKAGE__, body => sub { $_[0]->password('reset') },