From: gfx Date: Fri, 9 Oct 2009 05:34:15 +0000 (+0900) Subject: Fix meta initialization in Mouse::Exporter X-Git-Tag: 0.37_05~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=594f41474f0be1376c91df303c3b3e18f05d3f48;p=gitmo%2FMouse.git Fix meta initialization in Mouse::Exporter --- diff --git a/lib/Mouse/Exporter.pm b/lib/Mouse/Exporter.pm index 91ccff0..690a1b6 100644 --- a/lib/Mouse/Exporter.pm +++ b/lib/Mouse/Exporter.pm @@ -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; } } }