projects
/
gitmo/Role-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cde4d06
)
explicitly mark roles with is_role for parity with Moo
Graham Knop [Thu, 11 Jul 2013 09:36:12 +0000 (
05:36
-0400)]
lib/Role/Tiny.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Role/Tiny.pm
b/lib/Role/Tiny.pm
index
44659cf
..
8cf0da5
100644
(file)
--- a/
lib/Role/Tiny.pm
+++ b/
lib/Role/Tiny.pm
@@
-44,6
+44,7
@@
sub import {
strict->import;
warnings->import(FATAL => 'all');
return if $INFO{$target}; # already exported into this package
+ $INFO{$target}{is_role} = 1;
# get symbol table reference
my $stash = _getstash($target);
# install before/after/around subs