As earlier answers suggested, you would use $i += 3 to add 3 to the value of $i.
In reply to Re: is $i=+3 valid? by dsheroh in thread is $i=+3 valid? by rocketperl