projects
/
gitmo/Package-Stash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
one more scalar type
[gitmo/Package-Stash.git]
/
lib
/
Package
/
Stash
/
PP.pm
diff --git
a/lib/Package/Stash/PP.pm
b/lib/Package/Stash/PP.pm
index
fdb8da9
..
76129ed
100644
(file)
--- a/
lib/Package/Stash/PP.pm
+++ b/
lib/Package/Stash/PP.pm
@@
-105,7
+105,7
@@
sub _valid_for_type {
}
else {
my $ref = reftype($value);
- return !defined($ref) || $ref eq 'SCALAR' || $ref eq 'REF' || $ref eq 'LVALUE';
+ return !defined($ref) || $ref eq 'SCALAR' || $ref eq 'REF' || $ref eq 'LVALUE' || $ref eq 'REGEXP' || $ref eq 'VSTRING';
}
}