Doh, the SYNOPSIS was totally wrong.
Dave Rolsky [Sun, 24 Aug 2008 14:11:12 +0000 (14:11 +0000)]
lib/Moose/Exporter.pm

index 01ed414..9d4d64c 100644 (file)
@@ -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 ...