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

Make them strings.

foreach $i ( '01' .. '11' ) { print "$i "; } OUTPUT: 01 02 03 04 05 06 07 08 09 10 11