summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-04 04:42:25 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-04 04:42:25 +0000
commitb89fed5ff1fc43a68f98ebc06fd23230eb6697a8 (patch)
tree36a5b4bd2d82326f1b35dc0f697cea5b0e3a1a36 /pp_hot.c
parente36f48ebb7060aae39976a966a13100fba5c0df0 (diff)
downloadperl-b89fed5ff1fc43a68f98ebc06fd23230eb6697a8.tar.gz
make uninitialized value warnings report opcode
p4raw-id: //depot/perl@4641
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 8697d36df8..743913d8ed 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -459,7 +459,7 @@ PP(pp_rv2av)
PL_op->op_private & HINT_STRICT_REFS)
DIE(aTHX_ PL_no_usym, "an ARRAY");
if (ckWARN(WARN_UNINITIALIZED))
- Perl_warner(aTHX_ WARN_UNINITIALIZED, PL_warn_uninit);
+ report_uninit();
if (GIMME == G_ARRAY) {
(void)POPs;
RETURN;
@@ -559,7 +559,7 @@ PP(pp_rv2hv)
PL_op->op_private & HINT_STRICT_REFS)
DIE(aTHX_ PL_no_usym, "a HASH");
if (ckWARN(WARN_UNINITIALIZED))
- Perl_warner(aTHX_ WARN_UNINITIALIZED, PL_warn_uninit);
+ report_uninit();
if (GIMME == G_ARRAY) {
SP--;
RETURN;