|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Re: Unique ID Generatorby LostS (Friar) |
| on Aug 23, 2001 at 14:42 UTC ( [id://107343]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
OK I have a ID I have to assign with each submission. The ID looked like this REG-RC-0000 . The 0000 is a number so it would be 0001 and then 0002 and so forth... My Question is how do I make it always 4 characters in length. If I take a number and do a ++ to it wont it change 0001 to 2??
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||