From: Jarkko Hietaniemi Date: Mon, 14 May 2001 13:10:34 +0000 (+0000) Subject: Reference cmp'ing should go through the whole stringification X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ab903215d0dba02fe67d564bb62d729b4cbaf13e;p=p5sagit%2Fp5-mst-13.2.git Reference cmp'ing should go through the whole stringification process shebang, as pointed out by Sarathy in #10091. p4raw-id: //depot/perl@10098 --- diff --git a/pp.c b/pp.c index d5e4dd7..91c0f19 100644 --- a/pp.c +++ b/pp.c @@ -1978,12 +1978,6 @@ PP(pp_sne) PP(pp_scmp) { dSP; dTARGET; tryAMAGICbin(scmp,0); -#ifndef NV_PRESERVES_UV - if (SvROK(TOPs) && SvROK(TOPm1s)) { - SETi(PTR2UV(SvRV(TOPs)) - PTR2UV(SvRV(TOPm1s))); - RETURN; - } -#endif { dPOPTOPssrl; int cmp = ((PL_op->op_private & OPpLOCALE)