projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
transfer changes to _load_module to Role::Tiny's inlined version and document that...
[gitmo/Role-Tiny.git]
/
lib
/
Moo
/
_Utils.pm
diff --git
a/lib/Moo/_Utils.pm
b/lib/Moo/_Utils.pm
index
d332ec6
..
1e53b0e
100644
(file)
--- a/
lib/Moo/_Utils.pm
+++ b/
lib/Moo/_Utils.pm
@@
-28,6
+28,8
@@
sub _install_modifier {
our %MAYBE_LOADED;
+# _load_module is inlined in Role::Tiny - make sure to copy if you update it.
+
sub _load_module {
(my $proto = $_[0]) =~ s/::/\//g;
return 1 if $INC{"${proto}.pm"};