in reply to how to use printf correctly...

If I understand correctly, you want fixed-width fields to be printed out, with the data aligned nice and pretty. In other words, you want format().

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated