correct pod document name
[gitmo/Moose.git] / lib / Moose / Manual / Classes.pod
index f2cd397..5619db3 100644 (file)
@@ -31,12 +31,12 @@ example, you might define an attribute ...
 Attributes are described in the L<Moose::Manual::Attributes>
 documentation.
 
-Loading Moose also turns enables C<strict> and C<warnings> pragmas in
-your class.
+Loading Moose also enables C<strict> and C<warnings> pragmas in your
+class.
 
 When you load Moose, your class will become a subclass of
 L<Moose::Object>. The L<Moose::Object> class provides a default
-constructor, destructor, as well as object construction helper
+constructor and destructor, as well as object construction helper
 methods. You can read more about this in the
 L<Moose::Manual::Construction> document.
 
@@ -83,6 +83,14 @@ namespace. We recommend that you take advantage of this feature, since
 it just makes your classes "cleaner". You can do this by simply adding
 C<no Moose> at the end of your module file.
 
+  package Person;
+
+  use Moose;
+
+  has 'ssn' => ( is => 'rw' );
+
+  no Moose;
+
 This deletes Moose's sugar functions from your class's namespace, so
 that C<< Person->can('has') >> will no longer return true.
 
@@ -107,8 +115,8 @@ class's metaclass object.
 
 If you override C<new()> in your class, then the immutabilization code
 will not be able to provide an optimized constructor for your
-class. Instead, you should use C<BUILD()> method, which will be called
-from the inlined constructor.
+class. Instead, you should use a C<BUILD()> method, which will be
+called from the inlined constructor.
 
 Alternately, if you really need to provide a different C<new()>, you
 can also provide your own immutabilization method. Doing so requires