From: kostya Date: Thu, 1 Oct 2009 13:36:58 +0000 (+0000) Subject: Added 'use MooseX::MethodAttributes ();' for roles and attributes. X-Git-Tag: v5.8005~103 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=601573b6bed0e44145fda2053a212ea997c212e5;hp=08cb655fc7727601466be297a251b56a4fed6e34 Added 'use MooseX::MethodAttributes ();' for roles and attributes. --- diff --git a/lib/Catalyst/Manual/CatalystAndMoose.pod b/lib/Catalyst/Manual/CatalystAndMoose.pod index 6f6f9b4..1fc346e 100644 --- a/lib/Catalyst/Manual/CatalystAndMoose.pod +++ b/lib/Catalyst/Manual/CatalystAndMoose.pod @@ -140,6 +140,7 @@ It is possible to have action methods with attributes inside Moose roles, using the trait introduced in L version 0.12, example: package MyApp::ControllerRole; + use MooseX::MethodAttributes (); use Moose::Role -traits => 'MethodAttributes'; use namespace::autoclean;