X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse.pm;h=d3b1d569e61cc94220c35beeb37df101e336b331;hb=d503a4f3aa9eda772309f6c99ccd4dfcdfed059d;hp=60cb1562dc1d2d2fc3290a96e6700758d3faf2b2;hpb=013ee5f0c0ce5afa1fea9d45bd14bd8f8bfd67f4;p=gitmo%2FMouse.git diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 60cb156..d3b1d56 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -3,7 +3,7 @@ use 5.006_002; use Mouse::Exporter; # enables strict and warnings -our $VERSION = '0.50'; +our $VERSION = '0.50_02'; use Carp qw(confess); use Scalar::Util qw(blessed); @@ -160,7 +160,7 @@ Mouse - Moose minus the antlers =head1 VERSION -This document describes Mouse version 0.50 +This document describes Mouse version 0.50_02 =head1 SYNOPSIS @@ -176,6 +176,9 @@ This document describes Mouse version 0.50 $self->y(0); } + + __PACKAGE__->meta->make_immutable(); + package Point3D; use Mouse; @@ -188,6 +191,8 @@ This document describes Mouse version 0.50 $self->z(0); }; + __PACKAGE__->meta->make_immutable(); + =head1 DESCRIPTION L is wonderful. B @@ -243,15 +248,15 @@ Returns this class' metaclass instance. Sets this class' superclasses. -=head2 C<< before (method|methods) => CodeRef >> +=head2 C<< before (method|methods|regexp) => CodeRef >> Installs a "before" method modifier. See L. -=head2 C<< after (method|methods) => CodeRef >> +=head2 C<< after (method|methods|regexp) => CodeRef >> Installs an "after" method modifier. See L. -=head2 C<< around (method|methods) => CodeRef >> +=head2 C<< around (method|methods|regexp) => CodeRef >> Installs an "around" method modifier. See L.