Beginner wrote:
Hi all,

Sorry I am sure this is a lame question. I want to print out some column (with heading) and I want them evenly spaced. I know this is a printf but the format eludes me.

printf("%c12", $var);  # prints $var12$var12

Try %12c (or %12s) instead of %c12 above.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to