We don't bite newbies here... much | |
PerlMonks |
Re: Formating Numbers Preceding 0'sby Somni (Friar) |
on Nov 27, 2007 at 23:52 UTC ( [id://653420]=note: print w/replies, xml ) | Need Help?? |
sprintf "%06d", $defectid
See perldoc -f sprintf and perldoc -f printf.
In Section
Seekers of Perl Wisdom
|
|