From: Dave Rolsky Date: Sun, 24 Aug 2008 14:11:12 +0000 (+0000) Subject: Doh, the SYNOPSIS was totally wrong. X-Git-Tag: 0.55_02~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8a5a70e3ae839c559ea3ae0f921c0eb734a94f4;p=gitmo%2FMoose.git Doh, the SYNOPSIS was totally wrong. --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index 01ed414..9d4d64c 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -346,8 +346,9 @@ 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 ], - also => 'Moose', + with_caller => [ 'sugar1', 'sugar2' ], + as_is => [ 'sugar3', \&Some::Random::thing ], + also => 'Moose', ); # then later ...