From: Dave Rolsky Date: Sat, 11 Feb 2012 20:21:19 +0000 (-0600) Subject: Rename Roles::Recipe1 to Roles::Comparable_CodeReuse X-Git-Tag: 2.0500~68 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9956dcf4289b353b742d49dd80c22ef00bd6ded5;p=gitmo%2FMoose.git Rename Roles::Recipe1 to Roles::Comparable_CodeReuse --- diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index 4f5db38..dfab2dd 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -89,7 +89,7 @@ These recipes will show you how to use Moose roles. =over 4 -=item L - The Moose::Role example +=item L Demonstrates roles, which are also sometimes known as traits or mix-ins. Roles provide a method of code re-use which is orthogonal to diff --git a/lib/Moose/Cookbook/Roles/Recipe1.pod b/lib/Moose/Cookbook/Roles/Comparable_CodeReuse.pod similarity index 98% rename from lib/Moose/Cookbook/Roles/Recipe1.pod rename to lib/Moose/Cookbook/Roles/Comparable_CodeReuse.pod index 2a3d44a..de64a62 100644 --- a/lib/Moose/Cookbook/Roles/Recipe1.pod +++ b/lib/Moose/Cookbook/Roles/Comparable_CodeReuse.pod @@ -1,6 +1,6 @@ -package Moose::Cookbook::Roles::Recipe1; +package Moose::Cookbook::Roles::Comparable_CodeReuse; -# ABSTRACT: The Moose::Role example +# ABSTRACT: Using roles for code reuse __END__ diff --git a/lib/Moose/Manual/Roles.pod b/lib/Moose/Manual/Roles.pod index 594fac4..6a80902 100644 --- a/lib/Moose/Manual/Roles.pod +++ b/lib/Moose/Manual/Roles.pod @@ -102,7 +102,7 @@ We could use this same role in a C class: isa => 'Marrow', ); -See also L for an example. +See also L for an example. =head1 REQUIRED METHODS