This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #87708] $tied / $tied under use integer
authorFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 20:12:59 +0000 (13:12 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 20:12:59 +0000 (13:12 -0700)
commit76422f81b675011beffbdb66c981a36b6fbf4a6b
treeb39e62e773bf223707d1905f2249ee4e4b7c5b6f
parent96b6b87fc202a490b35ba140684083e484959f72
[perl #87708] $tied / $tied under use integer

This is just part of #87708.

This fixes the / operator under â€˜use integer’ when the same tied sca-
lar 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