ToInstance no longer needs to subclass ToClass
[gitmo/Moose.git] / lib / Moose / Manual / Concepts.pod
index 125ba9c..3736ab4 100644 (file)
@@ -135,14 +135,14 @@ Role are somewhat like mixins or interfaces in other OO languages.
 
   use Moose::Role;
 
-  has is_broken => (
+  requires 'break';
+
+  has 'is_broken' => (
       is  => 'rw',
       isa => 'Bool',
   );
 
-  requires 'break';
-
-  before 'break' => {
+  after 'break' => sub {
       my $self = shift;
 
       $self->is_broken(1);
@@ -356,11 +356,12 @@ extensions.
 So you're sold on Moose. Time to learn how to really use it.
 
 If you want to see how Moose would translate directly into old school
-Perl 5 OO code, check out L<Moose::Unsweetened>. This might be
+Perl 5 OO code, check out L<Moose::Manual::Unsweetened>. This might be
 helpful for quickly wrapping your brain around some aspects of "the
 Moose way".
 
-Obviously, the next thing to read is the rest of the L<Moose::Manual>.
+Or you can skip that and jump straight to L<Moose::Manual::Classes>
+and the rest of the L<Moose::Manual>.
 
 After that we recommend that you start with the L<Moose::Cookbook>. If
 you work your way through all the recipes under the basics section,