fixed cookbook example
Moritz Onken [Sun, 13 Feb 2011 09:49:08 +0000 (10:49 +0100)]
lib/DBIx/Class/Manual/Cookbook.pod

index 47e85f9..faa1123 100644 (file)
@@ -1918,7 +1918,7 @@ L<Class::Method::Modifiers>:
       $self->squared( $value * $value );
     }
 
-    $self->next::method(@_);
+    $self->$orig(@_);
   }
 
 Note that the hard work is done by the call to C<next::method>, which