in reply to Printing a specified number of characters

you can do like this:  print " "x14 . "A";

$number = 5; $number_two = 7; print ' 'x$number . "A" . ' 'x$number_two."B\n";