projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ef5db57
)
Fix meta initialization in Mouse::Exporter
gfx [Fri, 9 Oct 2009 05:34:15 +0000 (14:34 +0900)]
lib/Mouse/Exporter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Exporter.pm
b/lib/Mouse/Exporter.pm
index
91ccff0
..
690a1b6
100644
(file)
--- 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;
}
}
}