projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remove vestigial _is_scalar_ref sub
[gitmo/Moo.git]
/
lib
/
Role
/
Tiny.pm
diff --git
a/lib/Role/Tiny.pm
b/lib/Role/Tiny.pm
index
6af899f
..
e9d8b73
100644
(file)
--- a/
lib/Role/Tiny.pm
+++ b/
lib/Role/Tiny.pm
@@
-22,11
+22,6
@@
sub _load_module {
return 1;
}
-{ # \[] is REF, not SCALAR. \v1 is VSTRING (thanks to doy for that one)
- my %reftypes = map +($_ => 1), qw(SCALAR REF VSTRING);
- sub _is_scalar_ref { $reftypes{ref($_[0])} }
-}
-
sub import {
my $target = caller;
my $me = shift;