From: Mark A. Stratman Date: Fri, 11 Mar 2011 19:38:09 +0000 (-0600) Subject: Fix FAQ on require+attributes X-Git-Tag: 2.0103~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d29976893449b8ee9f37ce6b84e48d4077fe3ca;p=gitmo%2FMoose.git Fix FAQ on require+attributes --- diff --git a/lib/Moose/Manual/FAQ.pod b/lib/Moose/Manual/FAQ.pod index 9ca7ff3..3371977 100644 --- 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 role before declaring your C attribute, you would see an error like this: