in reply to How to display 10 -1 =09 In Perl

You should only care how it's printed in the end.

See printf and sprintf

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)