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:21:32 +0000 (06:21 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 15:40:08 +0000 (08:40 -0700)
commit5c7d20ff772f490f6e0682ae0aa17d26f6773354
tree8205d703b33e353dd6bbd1b41692d0c574fcd37a
parentf2bd3a8b9855e84ab43505429524667042927760
[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 were swapped.
pp.c
t/lib/warnings/9uninit
t/op/tie_fetch_count.t