Also, while this isn't a direct print as others have described, more information can be found in perlfaq4 about string padding here using sprintf. (Puts your reformatted string in a variable for later use.)
Good, easy access to all Perl docs and FAQ's can be found here, and excellent tutorials from experienced monks are here on Perl Monks.
HTH
Comment on Re: Printing a specified number of characters