summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-11-02 17:07:00 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-11-02 17:07:00 +0000
commit0eb20fa22aa27beb10ebb64e033f5856e121ab29 (patch)
tree9bc1595f686fd614966cda9e398f1b0b283019e2 /pp_ctl.c
parent0f7107a09d6f6792e3cad68e66112188b6aada14 (diff)
downloadperl-0eb20fa22aa27beb10ebb64e033f5856e121ab29.tar.gz
eval $undef should emit one warning, not three.
Also ensure that eval $undef clears $@ (it did, but only by luck) p4raw-id: //depot/perl@29193
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 708f2fa07a..7b91e86c23 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3455,8 +3455,6 @@ PP(pp_entereval)
}
sv = POPs;
- if (!SvPV_nolen_const(sv))
- RETPUSHUNDEF;
TAINT_PROPER("eval");
ENTER;