Added 'use MooseX::MethodAttributes ();' for roles and attributes.
kostya [Thu, 1 Oct 2009 13:36:58 +0000 (13:36 +0000)]
lib/Catalyst/Manual/CatalystAndMoose.pod

index 6f6f9b4..1fc346e 100644 (file)
@@ -140,6 +140,7 @@ It is possible to have action methods with attributes inside Moose roles, using
 the trait introduced in L<MooseX::MethodAttributes> version 0.12, example:
 
     package MyApp::ControllerRole;
+    use MooseX::MethodAttributes ();
     use Moose::Role -traits => 'MethodAttributes';
     use namespace::autoclean;