projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e94920c
)
squelch redefine warnings in the coderef installation code
Matt S Trout [Wed, 20 Jun 2012 18:04:40 +0000 (18:04 +0000)]
Changes
patch
|
blob
|
blame
|
history
lib/Moo/_Utils.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
8858f07
..
b7f9389
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,3
+1,5
@@
+ - squelch redefine warnings in the coderef installation code
+
0.091008 - 2012-06-19
- bump Role::Tiny dependency to get working modifiers under composition
- handle "has '+foo'" for attrs from superclass or consumed role
diff --git
a/lib/Moo/_Utils.pm
b/lib/Moo/_Utils.pm
index
24fe665
..
e6a0420
100644
(file)
--- a/
lib/Moo/_Utils.pm
+++ b/
lib/Moo/_Utils.pm
@@
-65,6
+65,7
@@
sub _get_linear_isa {
}
sub _install_coderef {
+ no warnings 'redefine';
*{_getglob($_[0])} = _name_coderef(@_);
}