summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-04-06 06:17:23 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-04-06 08:40:07 -0700
commit577914ca141fdfb73ca33f7a427a69f89de59840 (patch)
treefdb11bcdb64498ff3ba570b24d27cbb373574e9e /pp.c
parent359960d4a7ff4002134891a49a61ff6943dd505e (diff)
downloadperl-577914ca141fdfb73ca33f7a427a69f89de59840.tar.gz
[perl #87708] use integer; $tied != $tied
This is just part of #87708. This fixes != under ‘use integer’ when the same tied scalar is used for both operands and returns two different values. Before this com- mit, get-magic would be called only once and the same value used. In 5.12.x it just worked.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index a1bc15b8d0..899f2b8894 100644
--- a/pp.c
+++ b/pp.c
@@ -3038,7 +3038,7 @@ PP(pp_i_ne)
dVAR; dSP;
tryAMAGICbin_MG(ne_amg, AMGf_set);
{
- dPOPTOPiirl_nomg;
+ dPOPTOPiirl_halfmg;
SETs(boolSV(left != right));
RETURN;
}