From: Stevan Little Date: Tue, 2 Oct 2007 18:40:01 +0000 (+0000) Subject: nits X-Git-Tag: 0_27~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5af6a16debb066f2c43c693586e22045a1981763;p=gitmo%2FMoose.git nits --- diff --git a/Changes b/Changes index 6387af0..7644888 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Moose +0.27 + * fixing some misc. bits in the docs that + got mentioned on CPAN Forum + 0.26 Thurs. Sept. 27, 2007 == New Features == diff --git a/README b/README index a8cf459..cca8e3b 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Moose version 0.25 +Moose version 0.27 =========================== See the individual module documentation for more information diff --git a/lib/Moose.pm b/lib/Moose.pm index bd4835c..3491d2e 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -4,7 +4,7 @@ package Moose; use strict; use warnings; -our $VERSION = '0.26'; +our $VERSION = '0.27'; our $AUTHORITY = 'cpan:STEVAN'; use Scalar::Util 'blessed', 'reftype'; diff --git a/lib/Moose/Cookbook/Recipe1.pod b/lib/Moose/Cookbook/Recipe1.pod index ffbe46f..f9382d5 100644 --- a/lib/Moose/Cookbook/Recipe1.pod +++ b/lib/Moose/Cookbook/Recipe1.pod @@ -10,14 +10,8 @@ Moose::Cookbook::Recipe1 - The (always classic) B example. package Point; use Moose; - has 'x' => (isa => 'Int', is => 'ro', clearer => 'clear_x' ); - has 'y' => (isa => 'Int', is => 'rw', clearer => 'clear_y'); - - sub clear { - my $self = shift; - $self->clear_x(); - $self->clear_y(); # or $self->y(0); - } + has 'x' => (isa => 'Int', is => 'ro'); + has 'y' => (isa => 'Int', is => 'rw'); sub clear { my $self = shift;