projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bd76a69
)
Fix the class for init_meta()
gfx [Sat, 16 Jan 2010 05:02:42 +0000 (14:02 +0900)]
lib/Mouse/Exporter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Exporter.pm
b/lib/Mouse/Exporter.pm
index
b473eb9
..
934b1c3
100644
(file)
--- a/
lib/Mouse/Exporter.pm
+++ b/
lib/Mouse/Exporter.pm
@@
-171,7
+171,7
@@
sub do_import {
if($spec->{INIT_META}){
my $meta;
foreach my $init_meta(@{$spec->{INIT_META}}){
- $meta = $into->$init_meta(for_class => $into);
+ $meta = $package->$init_meta(for_class => $into);
}
if(@traits){