No need for arrayref with single argument to also
Dave Rolsky [Thu, 14 Aug 2008 14:31:23 +0000 (14:31 +0000)]
lib/Moose/Exporter.pm

index 5c32a6b..1eb8a51 100644 (file)
@@ -347,7 +347,7 @@ Moose::Exporter - make an import() and unimport() just like Moose.pm
 
   Moose::Exporter->setup_import_methods(
       export => [ 'sugar1', 'sugar2', \&Some::Random::thing ],
-      also   => [ 'Moose' ],
+      also   => 'Moose',
   );
 
   # then later ...