projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
revert local $\@ around require to avoid eating errors
[gitmo/Role-Tiny.git]
/
lib
/
Moo
/
_Utils.pm
diff --git
a/lib/Moo/_Utils.pm
b/lib/Moo/_Utils.pm
index
2ee545c
..
5f5e51f
100644
(file)
--- a/
lib/Moo/_Utils.pm
+++ b/
lib/Moo/_Utils.pm
@@
-40,7
+40,7
@@
sub _load_module {
# can't just ->can('can') because a sub-package Foo::Bar::Baz
# creates a 'Baz::' key in Foo::Bar's symbol table
return 1 if grep !/::$/, keys %{_getstash($_[0])||{}};
- { local $@; require "${proto}.pm"; }
+ { require "${proto}.pm"; }
return 1;
}