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:17:23 +0000 (06:17 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 15:40:07 +0000 (08:40 -0700)
commit577914ca141fdfb73ca33f7a427a69f89de59840
treefdb11bcdb64498ff3ba570b24d27cbb373574e9e
parent359960d4a7ff4002134891a49a61ff6943dd505e
[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