summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2006-02-12 01:18:39 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-14 13:23:04 +0000
commitcbae9b9ff8bcf8bd286fe05ec47b85b49a5edee5 (patch)
tree0f78fb99cf03635a7c75feb8f5ae338d60efabb6 /pp.c
parent932a780a5a7fa583739c54dfd2c041b4d4f48c26 (diff)
downloadperl-cbae9b9ff8bcf8bd286fe05ec47b85b49a5edee5.tar.gz
One shouldn't be able to dereference a GLOB as a SCALAR.
Subject: Re: [perl #38484] Data::Dumper only warns on unhandled reference types Message-ID: <20060212171839.GA3604@efn.org> plus regression tests. p4raw-id: //depot/perl@27179
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index 9eaac05897..4080c45296 100644
--- a/pp.c
+++ b/pp.c
@@ -234,6 +234,8 @@ PP(pp_rv2sv)
case SVt_PVAV:
case SVt_PVHV:
case SVt_PVCV:
+ case SVt_PVFM:
+ case SVt_PVIO:
DIE(aTHX_ "Not a SCALAR reference");
}
}