––
|
$i = –– $n (prefix form) first decreases the value of $n by 1, then sets $i to this new value.
Alternately, $i = $n –– first sets $i to the value of $n, then decreases the value of $n by 1. ($i must be either a scalar variable or an array reference, as must $n.)
|