Hello you can pad with left zero using
printf. See the format explication in
sprintf
perl -e "$x = 9; printf '%02s', $x "
09
HtH
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.