in reply to formatting output

Do you mean somethnig like this?

perl -e "printf '%-20s%s', 'one', 'two'"
--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me