From: Mark A. Stratman Date: Fri, 11 Mar 2011 19:38:09 +0000 (-0600) Subject: Fix FAQ on require+attributes X-Git-Tag: 2.0009~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b3cf93d6b5d508d8f4a12c5b0b7eae1569cbfb1;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: