in reply to Re: Counting to add space to a string
in thread Counting to add space to a string

Also, for applying the extra padding, see Multiplicative Operators; specifically:

print '-' x 80;        # print row of dashes