Fix code example to match current api
Dave Rolsky [Wed, 23 Nov 2011 16:01:41 +0000 (10:01 -0600)]
lib/Moose/Spec/Role.pod

index 3862745..6a1086e 100644 (file)
@@ -277,7 +277,7 @@ time using the I<excludes> option.
     package Role::FooBar;
     use Moose::Role;
 
-    with 'Role::Foo' => { excludes => 'foo' };
+    with 'Role::Foo' => { -excludes => 'foo' };
 
     sub foo { ... }
     sub bar { ... }