note
Corion
<p>It is like <c>+=</c> and <c>.=</c>, which modify the left-hand side by the right hand side.</p>
<p><c>$a += $b</c> adds the right hand side (<c>$b</c>) to the left hand side, <c>$a</c>, and assigns the result to <c>$a</c>.</p>
<p><c>$a .= $b</c> appends <c>$b</c> to <c>$a</c> and assigns the result to <c>$a</c>.</p>
<p><c>$a ~= $b</c> xor's <c>$b</c> and <c>$a</c> and assigns the result to <c>$a</c>.</p>
<p>As this is a relatively uncommon use, it maybe makes this interchange currently even harder to spot than later the use of <c>=~</c> and <c>~=</c>.</p>
1038191
1038435