diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-04-05 22:30:16 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-04-06 06:09:27 -0700 |
commit | 4cdd48d8aacaf1f4775166dabd4fab9452b1e91a (patch) | |
tree | fcf9f9d7e2053b2b6460157786059da6c6a6997f /pp.c | |
parent | d4b629d054c4d4673eb40198700efd5b01407cb7 (diff) | |
download | perl-4cdd48d8aacaf1f4775166dabd4fab9452b1e91a.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, the operands would be reversed.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3049,7 +3049,7 @@ PP(pp_i_ncmp) dVAR; dSP; dTARGET; tryAMAGICbin_MG(ncmp_amg, 0); { - dPOPTOPiirl_nomg; + dPOPTOPiirl_halfmg; I32 value; if (left > right) |