From: Dave Rolsky Date: Sat, 11 Feb 2012 17:33:01 +0000 (-0600) Subject: Rename Basics::Recipe3 to Basics::BinaryTree_AttributeFeatures X-Git-Tag: 2.0500~77 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed82277c6382d6edcd37676b4140a8ce05fdca90;p=gitmo%2FMoose.git Rename Basics::Recipe3 to Basics::BinaryTree_AttributeFeatures --- diff --git a/lib/Moose/Cookbook.pod b/lib/Moose/Cookbook.pod index fc5b76c..58178c0 100644 --- a/lib/Moose/Cookbook.pod +++ b/lib/Moose/Cookbook.pod @@ -35,7 +35,7 @@ A simple Moose-based class. Demonstrates basic Moose attributes and subclassing. A slightly more complex Moose class. Demonstrates using a method modifier in a subclass. -=item L - A lazy B example +=item L Demonstrates several attribute features, including types, weak references, predicates ("does this object have a foo?"), defaults, diff --git a/lib/Moose/Cookbook/Basics/Recipe3.pod b/lib/Moose/Cookbook/Basics/BinaryTree_AttributeFeatures.pod similarity index 98% rename from lib/Moose/Cookbook/Basics/Recipe3.pod rename to lib/Moose/Cookbook/Basics/BinaryTree_AttributeFeatures.pod index 31832d3..e13965b 100644 --- a/lib/Moose/Cookbook/Basics/Recipe3.pod +++ b/lib/Moose/Cookbook/Basics/BinaryTree_AttributeFeatures.pod @@ -1,6 +1,6 @@ -package Moose::Cookbook::Basics::Recipe3; +package Moose::Cookbook::Basics::BinaryTree_AttributeFeatures; -# ABSTRACT: A lazy B example +# ABSTRACT: Demonstrates various attribute features including lazy, predicates, weak refs, and more __END__ diff --git a/lib/Moose/Cookbook/Basics/Recipe4.pod b/lib/Moose/Cookbook/Basics/Recipe4.pod index 94a9982..908b3b4 100644 --- a/lib/Moose/Cookbook/Basics/Recipe4.pod +++ b/lib/Moose/Cookbook/Basics/Recipe4.pod @@ -251,7 +251,7 @@ it's called as a reader. The B class does not really demonstrate anything new. It has several C attributes. It also has a C method, which we -first used in L. +first used in L. The only new feature in the C class is the C method modifier: diff --git a/lib/Moose/Cookbook/Basics/Recipe8.pod b/lib/Moose/Cookbook/Basics/Recipe8.pod index 750fd41..043ba37 100644 --- a/lib/Moose/Cookbook/Basics/Recipe8.pod +++ b/lib/Moose/Cookbook/Basics/Recipe8.pod @@ -50,9 +50,10 @@ __END__ =head1 DESCRIPTION -If you've already read L, then this -example should look very familiar. In fact, all we've done here is -replace the attribute's C parameter with a C. +If you've already read +L, then this example +should look very familiar. In fact, all we've done here is replace the +attribute's C parameter with a C. In this particular case, the C and C options act in exactly the same way. When the C or C attribute is read, diff --git a/lib/Moose/Manual/FAQ.pod b/lib/Moose/Manual/FAQ.pod index 5d104a7..0f01083 100644 --- a/lib/Moose/Manual/FAQ.pod +++ b/lib/Moose/Manual/FAQ.pod @@ -308,8 +308,9 @@ As for alternate solutions, there are a couple. =item * Using a combination of lazy and default in your attributes to defer -initialization (see the Binary Tree example in the cookbook for a good -example of lazy/default usage L) +initialization (see the Binary Tree example in the cookbook for a good example +of lazy/default usage +L) =item *