in reply to formatting output
Do you mean somethnig like this?
perl -e "printf '%-20s%s', 'one', 'two'" [download]
"Perl makes the fun jobs fun and the boring jobs bearable" - me