in reply to
Formating Numbers Preceding 0's
sprintf "%06d", $defectid
See
perldoc -f sprintf
and
perldoc -f printf
.
Comment on
Re: Formating Numbers Preceding 0's
Download
Code
In Section
Seekers of Perl Wisdom