Fix meta initialization in Mouse::Exporter
gfx [Fri, 9 Oct 2009 05:34:15 +0000 (14:34 +0900)]
lib/Mouse/Exporter.pm

index 91ccff0..690a1b6 100644 (file)
@@ -102,7 +102,7 @@ sub build_import_methods{
 
             if(my $init_meta = $package->can('init_meta')){
                 if(!grep{ $_ == $init_meta } @init_meta_methods){
-                    unshift @init_meta_methods, $init_meta;
+                    push @init_meta_methods, $init_meta;
                 }
             }
         }