in reply to Range of numbers with 0 added for single digits.

foreach $n ( map { sprintf "%02d", $_ } 0..30 ) { # do stuff with $n }
same thing, different color
my @list = map { sprintf "%02d", $_ } 0..99;

--
Snazzy tagline here