From: Dave Rolsky Date: Wed, 23 Nov 2011 16:01:41 +0000 (-0600) Subject: Fix code example to match current api X-Git-Tag: 2.0500~114 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8b3c8a92f073be4d107f7c709bcb36d048eff1d4;p=gitmo%2FMoose.git Fix code example to match current api --- diff --git a/lib/Moose/Spec/Role.pod b/lib/Moose/Spec/Role.pod index 3862745..6a1086e 100644 --- a/lib/Moose/Spec/Role.pod +++ b/lib/Moose/Spec/Role.pod @@ -277,7 +277,7 @@ time using the I option. package Role::FooBar; use Moose::Role; - with 'Role::Foo' => { excludes => 'foo' }; + with 'Role::Foo' => { -excludes => 'foo' }; sub foo { ... } sub bar { ... }