projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ea4b7a8
)
import strictures
Matt S Trout [Sun, 7 Nov 2010 01:41:30 +0000 (
01:41
+0000)]
lib/Class/Tiny.pm
patch
|
blob
|
blame
|
history
lib/Role/Tiny.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/Tiny.pm
b/lib/Class/Tiny.pm
index
1bc127c
..
c36c3ec
100644
(file)
--- a/
lib/Class/Tiny.pm
+++ b/
lib/Class/Tiny.pm
@@
-5,6
+5,7
@@
use Class::Tiny::_Utils;
sub import {
my $target = caller;
+ strictures->import;
*{_getglob("${target}::extends")} = sub {
*{_getglob("${target}::ISA")} = \@_;
};
diff --git
a/lib/Role/Tiny.pm
b/lib/Role/Tiny.pm
index
38ddb82
..
f71dcad
100644
(file)
--- a/
lib/Role/Tiny.pm
+++ b/
lib/Role/Tiny.pm
@@
-8,6
+8,7
@@
our %APPLIED_TO;
sub import {
my $target = caller;
+ strictures->import;
# get symbol table reference
my $stash = do { no strict 'refs'; \%{"${target}::"} };
# install before/after/around subs