Moose->unimport has to be caled as a method for the into_level stuff to work
Dave Rolsky [Mon, 4 Aug 2008 04:04:51 +0000 (04:04 +0000)]
lib/Moose/Cookbook/Extending/Recipe2.pod

index e565e45..7f19367 100644 (file)
@@ -42,7 +42,7 @@ Moose::Cookbook::Extending::Recipe2 - Acting like Moose.pm and providing sugar M
           keywords => \@EXPORT,
       );
 
-      Moose::unimport( { into_level => 1 } );
+      Moose->unimport( { into_level => 1 } );
   }
 
   sub has_table {