From: gfx Date: Sat, 20 Feb 2010 05:34:14 +0000 (+0900) Subject: Add make_immutable to the SYNOPSIS X-Git-Tag: 0.50_02~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fa0bc1b549deaa7f089c75b491877ed552f4f53;p=gitmo%2FMouse.git Add make_immutable to the SYNOPSIS --- diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 1923e96..22827e5 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -176,6 +176,9 @@ This document describes Mouse version 0.50_01 $self->y(0); } + + __PACKAGE__->meta->make_immutable(); + package Point3D; use Mouse; @@ -188,6 +191,8 @@ This document describes Mouse version 0.50_01 $self->z(0); }; + __PACKAGE__->meta->make_immutable(); + =head1 DESCRIPTION L is wonderful. B