projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
don't try and apply modifiers during role composition
[gitmo/Moo.git]
/
lib
/
Moo.pm
diff --git
a/lib/Moo.pm
b/lib/Moo.pm
index
fdaec57
..
2f27387
100644
(file)
--- a/
lib/Moo.pm
+++ b/
lib/Moo.pm
@@
-33,6
+33,7
@@
sub import {
};
foreach my $type (qw(before after around)) {
*{_getglob "${target}::${type}"} = sub {
+ require Class::Method::Modifiers;
_install_modifier($target, $type, @_);
};
}