in reply to displaying numbers like 001

Or if you want to do something more interesting:
for my $x ( 1, 2, 11 ) { print 0 x (3-length($x)), $x, "\n"; }
-- gam3
A picture is worth a thousand words, but takes 200K.