projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
06c067b
)
Add make_immutable to the SYNOPSIS
gfx [Sat, 20 Feb 2010 05:34:14 +0000 (14:34 +0900)]
lib/Mouse.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse.pm
b/lib/Mouse.pm
index
1923e96
..
22827e5
100644
(file)
--- 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<Moose> is wonderful. B<Use Moose instead of Mouse.>