[perl #87708] $tied + $tied and $tied - $tied under ‘use integer’
authorFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 19:40:44 +0000 (12:40 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Apr 2011 19:40:44 +0000 (12:40 -0700)
commite62ca0f9ce708db51e000573ffdc696e61eabdf7
tree3acfdc467d09212e728a5d0f261df342f6a80f2f
parent9b029393566c62b805459ea132fb68e5e941a3bd
[perl #87708] $tied + $tied and $tied - $tied under ‘use integer’

This is just part of #87708.

This fixes + and - 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 + just worked but the operands were swapped for -.
pp.h
t/lib/warnings/9uninit
t/op/tie_fetch_count.t