From: Dave Rolsky Date: Sat, 11 Feb 2012 20:28:26 +0000 (-0600) Subject: Rename Meta::Recipe3 to Meta::Labeled_AttributeTrait X-Git-Tag: 2.0500~64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b13013162f09785737414b87a24f96304e0499c1;p=gitmo%2FMoose.git Rename Meta::Recipe3 to Meta::Labeled_AttributeTrait --- diff --git a/lib/Moose.pm b/lib/Moose.pm index 4cfa28d..e435af9 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -637,8 +637,8 @@ cover here. See L for details on how a trait name is resolved to a role name. -Also see L for a metaclass trait -example. +Also see L for a metaclass +trait example. =item I => Str @@ -842,8 +842,8 @@ The lookup method for metaclasses is the same, except that it looks for a class matching B. If all this is confusing, take a look at -L, which demonstrates how to create an -attribute trait. +L, which demonstrates how to +create an attribute trait. =head1 UNIMPORTING FUNCTIONS diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index 511f155..2fe272d 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -120,7 +120,7 @@ you extend the object system provided by Moose. If you're wondering what all this "meta" stuff is, and why you should care about it, read this "recipe". -=item L - Labels implemented via attribute traits +=item L Extending Moose's attribute metaclass is a great way to add functionality. However, attributes can only have one metaclass. diff --git a/lib/Moose/Cookbook/Extending/Recipe1.pod b/lib/Moose/Cookbook/Extending/Recipe1.pod index 6b2cb28..c4d41c6 100644 --- a/lib/Moose/Cookbook/Extending/Recipe1.pod +++ b/lib/Moose/Cookbook/Extending/Recipe1.pod @@ -119,7 +119,7 @@ resolve a short name to a class name. In other words, with a trait, the caller can refer to it by a short name like "Big", and Moose will resolve it to a class like C. -See L and +See L and L for examples of traits in action. In particular, both of these recipes demonstrate the trait resolution mechanism. diff --git a/lib/Moose/Cookbook/Meta/Recipe3.pod b/lib/Moose/Cookbook/Meta/Labeled_AttributeTrait.pod similarity index 99% rename from lib/Moose/Cookbook/Meta/Recipe3.pod rename to lib/Moose/Cookbook/Meta/Labeled_AttributeTrait.pod index 22ab7b6..74c85ff 100644 --- a/lib/Moose/Cookbook/Meta/Recipe3.pod +++ b/lib/Moose/Cookbook/Meta/Labeled_AttributeTrait.pod @@ -1,4 +1,4 @@ -package Moose::Cookbook::Meta::Recipe3; +package Moose::Cookbook::Meta::Labeled_AttributeTrait; # ABSTRACT: Labels implemented via attribute traits diff --git a/lib/Moose/Cookbook/Meta/Recipe5.pod b/lib/Moose/Cookbook/Meta/Recipe5.pod index 21b3fd4..54f5c56 100644 --- a/lib/Moose/Cookbook/Meta/Recipe5.pod +++ b/lib/Moose/Cookbook/Meta/Recipe5.pod @@ -64,7 +64,7 @@ to encounter this sort of problem. =head1 SEE ALSO -L - Labels implemented via attribute -traits +L - Labels implemented via +attribute traits =pod