[perl #87708] use integer; $tied <=> $tied
authorFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 05:30:16 +0000 (22:30 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 13:09:27 +0000 (06:09 -0700)
commit4cdd48d8aacaf1f4775166dabd4fab9452b1e91a
treefcf9f9d7e2053b2b6460157786059da6c6a6997f
parentd4b629d054c4d4673eb40198700efd5b01407cb7
[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.
pp.c
pp.h
t/lib/warnings/9uninit
t/op/tie_fetch_count.t