There is no practical difference that I know of; $| stores only a boolean value (0 or 1), so incrementing it will never lead to any value other than 1. Micromicro optimizers can tell you that ++ is faster.
Reducing it, on the other hand, acts like a switch, but I can not think of any reason for this in the production code: either you want to turn it on or off.
source share