From: Dave Rolsky Date: Thu, 14 Aug 2008 14:31:23 +0000 (+0000) Subject: No need for arrayref with single argument to also X-Git-Tag: 0_55_01~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3a8c6c1fcff7307013edd7bb79dda50d248daae2;p=gitmo%2FMoose.git No need for arrayref with single argument to also --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index 5c32a6b..1eb8a51 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -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 ...