7 Segment LED reverse voltage problem

So you are suggesting to hook up the common anode to 5V and when setting the OUTPUT pin to HIGH I won't have a reverse voltage?