in reply to Re: Re: Unique ID Generator
in thread Unique ID Generator
Try this code:
my $id = 0; my $positionid; while ( $id < 50 ) { $positionid = sprinft( "REG-RC-%04d", $id++ ); print "Position ID: $positionid<br />\n"; }
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Unique ID Generator
by LostS (Friar) on Aug 23, 2001 at 19:09 UTC |