This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #87708] use integer; $tied == $tied
authorFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 13:18:18 +0000 (06:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 15:40:08 +0000 (08:40 -0700)
commitbfa9dccd484440ad314e36fd393de452e85c97ff
tree23623687f987849896b673a22e6b8649bcd5fc11
parent577914ca141fdfb73ca33f7a427a69f89de59840
[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.
pp.c
t/lib/warnings/9uninit
t/op/tie_fetch_count.t