[Catalyst-commits] r11442 -
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Oct 1 19:25:58 GMT 2009
Author: t0m
Date: 2009-10-01 19:25:56 +0000 (Thu, 01 Oct 2009)
New Revision: 11442
Modified:
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/CatalystAndMoose.pod
Log:
Show the new way of doing things
Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/CatalystAndMoose.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/CatalystAndMoose.pod 2009-10-01 13:36:58 UTC (rev 11441)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/CatalystAndMoose.pod 2009-10-01 19:25:56 UTC (rev 11442)
@@ -137,11 +137,10 @@
};
It is possible to have action methods with attributes inside Moose roles, using
-the trait introduced in L<MooseX::MethodAttributes> version 0.12, example:
+L<MooseX::MethodAttributes>, example:
package MyApp::ControllerRole;
- use MooseX::MethodAttributes ();
- use Moose::Role -traits => 'MethodAttributes';
+ use MooseX::MethodAttribute::Role;
use namespace::autoclean;
sub foo : Local {
More information about the Catalyst-commits
mailing list