From: Dave Rolsky Date: Mon, 6 Jul 2009 14:10:56 +0000 (-0500) Subject: Small tweaks to example code. X-Git-Tag: 0.87~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=743e019930f1c5b2c89736aab7bed27c03c6844e;p=gitmo%2FMoose.git Small tweaks to example code. --- diff --git a/lib/Moose/Manual/BestPractices.pod b/lib/Moose/Manual/BestPractices.pod index 0e79409..1807c1d 100644 --- 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 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