in reply to Print a string X times?

print '-' x $length;