From 24b164a5f9236bb5123fd1b0c5bc5f8577b30ad2 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Fri, 8 Apr 2011 18:12:42 -0700 Subject: [PATCH] perldelta for [perl #87708] In fixing the regression that #87708 represents, I could not avoid also fixing this swapped-operand bug, so it needs a perldelta entry. I also fixed a tiny formatting error. --- pod/perldelta.pod | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 5e9daa9..2c1f264 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -3897,13 +3897,21 @@ utf8::is_utf8 now respects get-magic (e.g. $1) (5.12.1). =item * +Non-commutative binary operators used to swap their operands if the same +tied scalar was used for both operands and returned a different value for +each FETCH. For instance, if C<$t> returned 2 the first time and 3 the +second, then C<$t/$t> would evaluate to 1.5. This has been fixed +[perl #87708]. + +=item * + String C now detects taintedness of overloaded or tied arguments [perl #75716]. =item * String C and regular expression matches against objects with string -overloading no longer cause memory corruption or crashes [perl 77084]. +overloading no longer cause memory corruption or crashes [perl #77084]. =item * -- 2.7.4