XP is just a number | |
PerlMonks |
Re: (Ovid) Re: front-pad a number with zero'sby japhy (Canon) |
on Oct 30, 2001 at 23:32 UTC ( [id://122172]=note: print w/replies, xml ) | Need Help?? |
A regex is overkill here. (If I'm saying it, trust me...) If you're against using sprintf(), just do the math:
_____________________________________________________
In Section
Cool Uses for Perl
|
|