projects
/
gitmo/Role-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
faa9ce1
)
remove vestigial _is_scalar_ref sub
Matt S Trout [Sat, 11 Feb 2012 19:36:59 +0000 (19:36 +0000)]
lib/Role/Tiny.pm
patch
|
blob
|
blame
|
history
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;