load exports from classes specified by 'also' first, so that subs locally specified...
Jesse Luehrs [Thu, 19 Feb 2009 04:07:41 +0000 (04:07 +0000)]
lib/Moose/Exporter.pm

index 7dc4d6e..beb561c 100644 (file)
@@ -40,7 +40,7 @@ sub build_import_methods {
 
     my ( $exports, $is_removable )
         = $class->_make_sub_exporter_params(
-        [ $exporting_package, @exports_from ], $export_recorder );
+        [ @exports_from, $exporting_package ], $export_recorder );
 
     my $exporter = Sub::Exporter::build_exporter(
         {