From: Brad Bowman Date: Wed, 28 Sep 2011 01:19:48 +0000 (+1000) Subject: Note MooseX::AttributeHelpers deprecation X-Git-Tag: 2.0301~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=48af8283c48cdd2bdf82c169e085885ab2963f7d;p=gitmo%2FMoose.git Note MooseX::AttributeHelpers deprecation Add a note and pointer to Moose::Meta::Attribute::Native in the reference to MooseX::AttributeHelpers in the cookbook's Extending::Recipe1 --- diff --git a/lib/Moose/Cookbook/Extending/Recipe1.pod b/lib/Moose/Cookbook/Extending/Recipe1.pod index cd97263..24dc9da 100644 --- a/lib/Moose/Cookbook/Extending/Recipe1.pod +++ b/lib/Moose/Cookbook/Extending/Recipe1.pod @@ -48,6 +48,8 @@ Many of the Moose extensions on CPAN work by providing an attribute metaclass extension. For example, the L distribution provides a new attribute metaclass that lets you delegate behavior to a non-object attribute (a hashref or simple number). +(MooseX::AttributeHelpers has been deprecated in favour of +L, but can still serve as an example). A metaclass extension can be packaged as a subclass or a role/trait. If you can, we recommend using traits instead of