projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
additional local $\@ removals
[gitmo/Role-Tiny.git]
/
lib
/
Moo
/
_Utils.pm
diff --git
a/lib/Moo/_Utils.pm
b/lib/Moo/_Utils.pm
index
5f5e51f
..
6b585cf
100644
(file)
--- a/
lib/Moo/_Utils.pm
+++ b/
lib/Moo/_Utils.pm
@@
-23,7
+23,7
@@
sub _install_modifier {
my ($into, $type, $name, $code) = @_;
if (my $to_modify = $into->can($name)) { # CMM will throw for us if not
- { local $@; require Sub::Defer; }
+ require Sub::Defer;
Sub::Defer::undefer_sub($to_modify);
}