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:28:01 +0000 (06:28 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 15:40:08 +0000 (08:40 -0700)
commit9b029393566c62b805459ea132fb68e5e941a3bd
tree63c99a9f943fc75ad029a6dda812afe704445876
parentfd2dbd2b83d1a66966856f304534143330e0ef17
[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 commit,
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