Think about Loose Coupling | |
PerlMonks |
Re: front-pad a number with zero'sby lhoward (Vicar) |
on Oct 30, 2001 at 23:27 UTC ( [id://122170]=note: print w/replies, xml ) | Need Help?? |
You can do the same thing with sprintf.
will put "00123" into $f.
In Section
Cool Uses for Perl
|
|