projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Small tweaks to example code.
[gitmo/Moose.git]
/
lib
/
Moose
/
Manual
/
BestPractices.pod
diff --git
a/lib/Moose/Manual/BestPractices.pod
b/lib/Moose/Manual/BestPractices.pod
index
0e79409
..
1807c1d
100644
(file)
--- a/
lib/Moose/Manual/BestPractices.pod
+++ b/
lib/Moose/Manual/BestPractices.pod
@@
-117,9
+117,9
@@
In order to declare such attributes, provide a private C<writer>
parameter:
has pizza => (
- isa => "Pizza",
- is => "ro",
- writer => "_pizza",
+ is => 'ro',
+ isa => 'Pizza',
+ writer => '_pizza',
);
=head2 Think twice before changing an attribute's type in a subclass