summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-04-06 06:28:01 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-04-06 08:40:08 -0700
commit9b029393566c62b805459ea132fb68e5e941a3bd (patch)
tree63c99a9f943fc75ad029a6dda812afe704445876 /pp.c
parentfd2dbd2b83d1a66966856f304534143330e0ef17 (diff)
downloadperl-9b029393566c62b805459ea132fb68e5e941a3bd.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 commit, get-magic would be called only once and the same value used. In 5.12.x the operands were swapped.
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 df02e9c89b..51dc496179 100644
--- a/pp.c
+++ b/pp.c
@@ -2983,7 +2983,7 @@ PP(pp_i_lt)
dVAR; dSP;
tryAMAGICbin_MG(lt_amg, AMGf_set);
{
- dPOPTOPiirl_nomg;
+ dPOPTOPiirl_halfmg;
SETs(boolSV(left < right));
RETURN;
}