From: Dave Rolsky Date: Thu, 14 Aug 2008 14:10:01 +0000 (+0000) Subject: Whoops, the synopsis still had an old API X-Git-Tag: 0_55_01~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8f5498057e576c1f55ad3d3cdb721d234ee9f77a;p=gitmo%2FMoose.git Whoops, the synopsis still had an old API --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index f0603bd..3f96443 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -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 ...