projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
be2630c
)
Fix FAQ on require+attributes
Mark A. Stratman [Fri, 11 Mar 2011 19:38:09 +0000 (13:38 -0600)]
lib/Moose/Manual/FAQ.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Manual/FAQ.pod
b/lib/Moose/Manual/FAQ.pod
index
9ca7ff3
..
3371977
100644
(file)
--- a/
lib/Moose/Manual/FAQ.pod
+++ b/
lib/Moose/Manual/FAQ.pod
@@
-375,8
+375,8
@@
an example:
package Car;
use Moose;
- with 'Breakable';
has 'stress' => ( is => 'rw', isa => 'Int' );
+ with 'Breakable';
If you mistakenly consume the C<Breakable> role before declaring your
C<stress> attribute, you would see an error like this: