From: Jesse Luehrs Date: Fri, 5 Aug 2011 19:30:46 +0000 (-0500) Subject: one more scalar type X-Git-Tag: 0.31~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d173d3a338b6b69f9d84006f05fc50c95193919a;p=gitmo%2FPackage-Stash.git one more scalar type --- diff --git a/lib/Package/Stash/PP.pm b/lib/Package/Stash/PP.pm index 52753c2..76129ed 100644 --- 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' || $ref eq 'REGEXP'; + return !defined($ref) || $ref eq 'SCALAR' || $ref eq 'REF' || $ref eq 'LVALUE' || $ref eq 'REGEXP' || $ref eq 'VSTRING'; } }