Whoops, the synopsis still had an old API
Dave Rolsky [Thu, 14 Aug 2008 14:10:01 +0000 (14:10 +0000)]
lib/Moose/Exporter.pm

index f0603bd..3f96443 100644 (file)
@@ -341,8 +341,8 @@ Moose::Exporter - make an import() and unimport() just like Moose.pm
   use Moose::Exporter;
 
   Moose::Exporter->setup_import_methods(
-      export         => [ 'sugar1', 'sugar2', \&Some::Random::thing ],
-      init_meta_args => { metaclass_class => 'MyApp::Meta::Class' ],
+      export => [ 'sugar1', 'sugar2', \&Some::Random::thing ],
+      also   => [ 'Moose' ],
   );
 
   # then later ...