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 ==
-Moose version 0.25
+Moose version 0.27
===========================
See the individual module documentation for more information
use strict;
use warnings;
-our $VERSION = '0.26';
+our $VERSION = '0.27';
our $AUTHORITY = 'cpan:STEVAN';
use Scalar::Util 'blessed', 'reftype';
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;