in reply to What the heck does $|++; do?
Sounds like you might be interested in broquaint's excellent explanation of this idiom.